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. How to redirect/rewrite all /wp-login requests
  19. Use a different domain for SSL
  20. Unable to login to my wordpress site. reauth=1 redirection loop
  21. Custom login redirects to wp-admin on wrong password
  22. Remove “Time to upgrade” message from dashboard
  23. What is the best method to close off the backend?
  24. .htaccess in wp-admin produces a redirect loop
  25. Share same domain for wp-admin but for different website
  26. How to allow users login to WP from external domain and make REST requests
  27. wp-admin pages return ERR_EMPTY_RESPONSE
  28. Wrong canonical link on wp-admin pages
  29. Can I rename the wp-admin folder?
  30. Users are redirected to homepage instead of wp-admin
  31. WordPress in sub directory wp-admin problem
  32. When attempting to update a self-hosted WordPress site, I’m seeing “ASN1 unknown message digest algorithm”
  33. How to Block Access to Standard Login Flow and Comment Flow
  34. .htaccess rewrite rule for removing .php extension with exception of wp login and wp-admin
  35. Display sortable User meta column in admin panel user’s page
  36. Which ways can be used to log in to WordPress?
  37. How to move wp-admin login page to another location? [closed]
  38. Adding body class to login page?
  39. Edit a WordPress site without the username and password?
  40. comment_form – show all fields when logged in
  41. Why should I password protect WP-Admin?
  42. Call to undefined function insert_with_markers
  43. Using /wp-admin works, using /login gives a 404. Why?
  44. Which HTTP headers to use for subdomain embedding?
  45. CDN + WP Admin Query – .htaccess redirection
  46. From 403 error to 500 internal server error
  47. I cannot log into my wordpress site with my wp-login.php [closed]
  48. FORCE_SSL_ADMIN not working
  49. How can I allow core, plugin, theme update checks only for selected admins?
  50. How do I set the homepage to the WordPress Admin Dashboard login?
  51. How to stop – Database Update Required – from happening again?
  52. Can’t access WordPress as an admin – but I can log in as a user!
  53. Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well
  54. Cannot Access Admin Area After Migration
  55. Admin username and password
  56. Wrong wp-admin URL
  57. Can’t login to Dashboard when changing site URL to HTTPS
  58. Detecting all admins that are logged in
  59. Limit access to wp_admin
  60. Customise WordPress Update Notice in wp-admin backend area
  61. WordPress and bbPress Login conflicts?
  62. Subscribers become Authors after Upgrade? / Mass Update of Users?
  63. Website looks fine, but login to wp-admin yields a blank screen
  64. password reset link being sent as HTTP?
  65. cannot find the login page for local WordPress site
  66. How do I host WordPress on a hidden domain through a reverse proxy?
  67. Users disappeared from wp-admin
  68. Modify WP-Admin login fields
  69. display dynamic WP Site logo on wp-admin using CSS
  70. wp-admin – 404 after custom login form
  71. How to fix ‘WordPress redirection loop problem in wp-login.php page’?
  72. WordPress logged in but no access to wp-admin
  73. Changed the path to wp-login and now can’t access WPress dashboard
  74. Unable to log in as admin
  75. Why my login panel has a wrong language?
  76. Handling multiple account logins?
  77. Not able to access WP admin Page, redirected and a drop down login menu appears 401 error
  78. Can I rename the wp-admin folder?
  79. WordPress Login for multiple sites
  80. Limit access to wp-admin but still be able to log in from different locations?
  81. SSL doesn’t deliver parts of WordPress Administration Module
  82. Cannot login in WordPress even after changing hash password in phpmyadmin
  83. Can’t log into WordPress after domain change
  84. Custom Admin Message from external source to multiple users
  85. Making WP Admin Folder accessable JUST under a different link
  86. is_admin() conditional statement
  87. Admin Login page not working at all
  88. Cannot Update wp DB – Get 500 Error
  89. Impossible User Registration
  90. How to protect wp-admin from third party access?
  91. After Upgrade: $user becomes unknown (id: 0) after successful login?
  92. Redirect users based on their roles, is_admin()
  93. is exposed wp-admin site a serious security vulnerability
  94. WordPress site shows a white page for site/wp_admin. A login returns again to the login screen
  95. Can a user submit requests to wp-admin/admin.php without logging in?
  96. Admin access to secondary site user_can_access_admin_page losing login
  97. WordPress change role from administrator to author by itself (automatically)
  98. User can see and enter the WordPress Admin without login
  99. Wildcard multisite wp-admin url wrongfully redirected
  100. login_enqueue_scripts changes are not reflecting
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
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 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