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

Couple questions about .htaccess, login page, updates

For the .htaccess-question, Stephen has a nice answer to that here:

WordPress will overwrite the entries between ‘# BEGIN WordPress’ and ‘# END WordPress’. While most plugins will create their own begin and end tags and only update within those tags.

Simply put your custom entries outside of any custom tags/comments and
they SHOULD be preserved when WP updates the file.

You can change the address of the admin login using either an existing plugin (Google “change wordpress login url”), or by modifying the .htaccess-file. See this answer for more info.

Related Posts:

  1. How to Change The WordPress Login URL Without Plugin
  2. 404 redirect wp-login and wp-admin after changing login url [closed]
  3. Change Login URL Without Plugin
  4. Securing wp-admin folder – Purpose? Importance?
  5. Options for restricting access to wp-admin
  6. Can’t access admin dashboard with wp-admin without /index.php after it
  7. How to change “wp-admin” to something else without search-replacing the core?
  8. Block access to wp-admin
  9. Cannot log into WordPress Dashboard after removing/adding .htaccess
  10. Change WP-Login or WP-Admin
  11. Should I add the IP of the server that hosts my sites to the list of authorized IPs in the wp-admin/.htaccess?
  12. I want to disable login of admin (/wp-admin) with email and make it accessible only with username
  13. Blank page when viewing wp-admin
  14. Why WordPress not logout after I have close my browser?
  15. Can I rename the wp-admin folder?
  16. What’s the easiest way to stop WP from ever logging me out
  17. “Too many redirects” ONLY when trying to access wp-admin page
  18. Use a different domain for SSL
  19. Unable to login to my wordpress site. reauth=1 redirection loop
  20. Custom login redirects to wp-admin on wrong password
  21. .htaccess in wp-admin produces a redirect loop
  22. Share same domain for wp-admin but for different website
  23. How to allow users login to WP from external domain and make REST requests
  24. Wrong canonical link on wp-admin pages
  25. Can I rename the wp-admin folder?
  26. Users are redirected to homepage instead of wp-admin
  27. WordPress in sub directory wp-admin problem
  28. How to Block Access to Standard Login Flow and Comment Flow
  29. Display sortable User meta column in admin panel user’s page
  30. Which ways can be used to log in to WordPress?
  31. Adding body class to login page?
  32. Edit a WordPress site without the username and password?
  33. comment_form – show all fields when logged in
  34. Why should I password protect WP-Admin?
  35. Call to undefined function insert_with_markers
  36. Using /wp-admin works, using /login gives a 404. Why?
  37. Which HTTP headers to use for subdomain embedding?
  38. CDN + WP Admin Query – .htaccess redirection
  39. FORCE_SSL_ADMIN not working
  40. How can I allow core, plugin, theme update checks only for selected admins?
  41. How do I set the homepage to the WordPress Admin Dashboard login?
  42. How to stop – Database Update Required – from happening again?
  43. Can’t access WordPress as an admin – but I can log in as a user!
  44. Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well
  45. Cannot Access Admin Area After Migration
  46. Admin username and password
  47. Wrong wp-admin URL
  48. Can’t login to Dashboard when changing site URL to HTTPS
  49. Detecting all admins that are logged in
  50. Limit access to wp_admin
  51. WordPress and bbPress Login conflicts?
  52. Subscribers become Authors after Upgrade? / Mass Update of Users?
  53. How do I host WordPress on a hidden domain through a reverse proxy?
  54. Users disappeared from wp-admin
  55. Modify WP-Admin login fields
  56. wp-admin – 404 after custom login form
  57. Logout USER form backoffice after 30 minutes of inactivity [closed]
  58. Having troubles connecting to WordPress login page using Mamp
  59. Sorry, you are not allowed to access this page
  60. WP Admin/ WP Login Redirect to themselves
  61. Hide username discovery
  62. Cookie Domain is preventing Admin login
  63. Require Login Redirect to Login Page
  64. Cannot access WordPress login pages
  65. Can I hook into wp_update_core outside of the admin?
  66. Cant login to wp-admin
  67. /wp-admin/ doesn’t work but /admin/ does
  68. Efficient way to check local WordPress php files and Database for malicious code? [duplicate]
  69. Renaming wp-admin without hard-coding it. Is it really possible?
  70. Why am I locked out of the system?
  71. Why can I log into wp-login.php and not wp-admin.php?
  72. firing function at login within class
  73. WP-admin or any other is redirecting me to (This page doesn’t seem to exist.)
  74. How to allow WordPress updates to only one specific administrator?
  75. wp-login not found – All usual solutions not working
  76. wp_get_update_data() function running on every admin request
  77. GoDaddy hosting wp-admin problem
  78. Slow WP loading due to persistent version check, how to disable?
  79. WordPress /wp-admin redirect to wrong port in docker
  80. How to log into WordPress via GET/POST
  81. wp-admin and wp-login.php not Accessible after Cloudflare
  82. wp-login.php entering password nothing happens
  83. Trying to login to my site redirects me to the first page
  84. CSRF attack to create USER
  85. stop customize.php redirect to login page if admin is not logged in
  86. Admin Login Checks
  87. Handling multiple account logins?
  88. Not able to access WP admin Page, redirected and a drop down login menu appears 401 error
  89. WordPress Login for multiple sites
  90. Cannot login in WordPress even after changing hash password in phpmyadmin
  91. Can’t log into WordPress after domain change
  92. Custom Admin Message from external source to multiple users
  93. Making WP Admin Folder accessable JUST under a different link
  94. is_admin() conditional statement
  95. Admin Login page not working at all
  96. Cannot Update wp DB – Get 500 Error
  97. Impossible User Registration
  98. How to protect wp-admin from third party access?
  99. Can a user submit requests to wp-admin/admin.php without logging in?
  100. Wildcard multisite wp-admin url wrongfully redirected
Categories wp-admin Tags .htaccess, login, security, updates, wp-admin
Run Custom HTML5
display php code in header using wp_head()

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