Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

How to create a private login page for admin.?

Login pages are not made of wood and continuous attacks do not weaken them. The whole point of having strong passwords is that however many attacks are performed against the user the probability of successful guess in your lifetime is zero. Best way to protect your user accounts are by having strong password.

If you believe strong passwords are not practical for your admins (or that they are too lazy to use them) you might want to force them to use things like google authenticator app which runs on their smartphone and produces verification code for them to use on login (one plugin that integrates with it – https://wordpress.org/plugins/google-authenticator/)

Back to the question, yes you can have several different login forms, and check the capabilities of user associated with the login name and if he doesn’t have the manage_options capability and based on that decide whether to continue the login process or not depending on the form you are handling at that moment.

Related Posts:

  1. Is there any way to rename or hide wp-login.php?
  2. Increase of failed login attempts, brute force attacks? [closed]
  3. How to fake a WordPress login?
  4. Brute force attack?
  5. Receiving “This content cannot be displayed in a frame” error on login page
  6. Websites defaced by uploading script using theme editor
  7. Make wordpress admin failed login attempt return 401
  8. WordPress login urls
  9. Store brute-force IP addresses
  10. WordPress Security – How to block alternative WordPress access
  11. Protecting WordPress login page
  12. wp-admin folder, brute force, and password protection
  13. Sniffing wordpress user’s credentials
  14. disable site_url redirect in wp-login.php
  15. Does WordPress (or a plugin) reveal login credentials to admin?
  16. Is wp_login_form secure on a non secure page?
  17. WordPress login security
  18. Why isn’t the login page rate limited by default?
  19. How can I password protect a WordPress site without requiring users to log in?
  20. Input sanitation
  21. How to Prevent Brute Force Attack on WordPress
  22. Advice on redirect to lock site from unauthorized users
  23. Where is the php file, that does the checks for login information?
  24. Error on WordPress Login
  25. Access log “POST /wp-login.php HTTP/1.0” 400
  26. force login loophole
  27. I need to find which is the file that checks the DB for correct login (username, password)
  28. How to create separate login for authors/moderators/subscribers?
  29. How to invalidate `password reset key` after being used
  30. Site is not loading after relogin attempts on SSL
  31. Some crawlers/bots attempting to login with very good guesses. How?
  32. Hide wp-login.php but not the widget
  33. How login is possible, if I deny login page via nginx?
  34. Custom login form
  35. Make my wordpress blog remember my login “forever”
  36. How to check in timber if user is loggedin?
  37. Stop WordPress from logging me out (need to keep me logged in)
  38. Does wp_logout_url() destroy a session? (Logging out question)
  39. Login email after registration never sent or received
  40. How to keep always logged in development environment
  41. Add Confirm Password field in wp-login.php Password Reset page
  42. Gaining Login Access via the Database
  43. send users logging in from wp-login.php directly to home page of site, rather than dashboard
  44. Changing Login Logo
  45. Get user ID after logging in
  46. How can I retrieve the username and password from my WordPress installation?
  47. User Directory without a Plugin
  48. User logon by using mobile number [closed]
  49. wp-admin seems to be redirecting
  50. Custom Connect to Facebook, problem logging in/logging out
  51. WordPress Login page trashed
  52. Are there ways of logging in that bypass wp-login.php altogether?
  53. Change Favicon on Login Screen?
  54. How to display username and password after registration
  55. Changes only show when logged in?
  56. How can I find the login page? It was lost after moving the site
  57. How to integrate external user tables with WP?
  58. WordPress as webapp login session
  59. replace wp-login.php login forms via a hook & use custom forms with wp-login form validation
  60. How to modify the action attribute of the wp-login.php?action=register form?
  61. How can I add a login/logout link in the sub-nav of my website?
  62. Correct passwords keep appearing as incorrect
  63. Odd login issue that needs manual page refresh on some devices
  64. WordPress asking for login on public pages on localhost
  65. Good way to block users within a multisite setup without deleting them?
  66. 404 redirect wp-login and wp-admin after changing login url [closed]
  67. Show directory listing/browsing if user is logged in
  68. Disabling standard registration login with username/email and password?
  69. Login form doesn’t log in
  70. Redirect wp-login
  71. Changed Wordress Address URL Accidently
  72. How to check if user is logged into wordpress on non-wordpress pages
  73. How to authenticate a user with an external webservice
  74. Log in with email but no password
  75. Remove a message in login page
  76. Login form not saving values when login incorrect
  77. Moving from one host to another – cannot access the dashboard
  78. Abnormal activity at url /my-account/add-payment-method/
  79. Login Based on ip
  80. Blacklist and Whitelist on login
  81. How to add custom authentication to wordpress login and register
  82. Link Users to external login db
  83. WordPress password reset not working
  84. Change WordPress Login URL to External URL
  85. New user password confirmation sending wrong URL
  86. is_logged_in not working after login
  87. wp_signon() does not authenticate user guidance needed
  88. How to password protect pages in WordPress
  89. Creating login for client / customer that will take them to customized part of site
  90. WP login pages redirect to homepage (cannot login)
  91. Is there any reason why there’s no “login_header” action at the login page?
  92. How to get rid of the username of registration form in theme my login wp plugin?
  93. Give user some feedback when they land on custom login page
  94. redirect not logged in users to specific page and redirect them back where they come from
  95. How to find out what’s causing (broken) ajax login
  96. How to put Login, Register and newsletter widget on the same page?
  97. Unable to login my subdirectory WordPress site
  98. Cannot login into an old wp site. Fatal Error: Cannot create references to/from string offsets
  99. Browser Caching for Logged in Users
  100. Profile Builder Plugiin – how to add customize Login form fields?
Categories login Tags login, security
How to construct a custom html for submenus
Best way to load WordPress Bootstrap

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress