Title: .htaccess mods not working
Last modified: August 31, 2016

---

# .htaccess mods not working

 *  Resolved [ianro](https://wordpress.org/support/users/ianro/)
 * (@ianro)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/htaccess-mods-not-working/)
 * Hi
    I have activated wp hide login and I now have to use a new login page – so
   that works fine
 * I have edited .htaccess as required in the instructions
 * However when I try to access mywebsite/wp-admin/ or mywebsite/wp-login I still
   get the “This is embaraasing ” error page
 * I am not an expert – so any help for this novice would be very much appreciated
 * Thank you
 * [https://wordpress.org/plugins/wps-hide-login/](https://wordpress.org/plugins/wps-hide-login/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Remy Perona](https://wordpress.org/support/users/tabrisrp/)
 * (@tabrisrp)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/htaccess-mods-not-working/#post-7307621)
 * Hi,
 * WPS Hide Login doesn’t require any modification to the htaccess rules for it 
   to work
 *  Thread Starter [ianro](https://wordpress.org/support/users/ianro/)
 * (@ianro)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/htaccess-mods-not-working/#post-7307627)
 * Hi Remy
 * Thank you for taking the time to respond
 * I must confess that I assumed that the instructions given to me were the standard
   plugin instructions. (since your post I can see that the extra ht access step
   has been added by the post author). This included a step after running WPS Hide
   Login/ The instuctions were as follows:
 * “There’s one extra step to take, because now every visit to the old /wp-login.
   php file will cause WordPress to generate a 404 page not found page. Add the 
   following code to the top of your .htaccess file in the directory that contains
   your WordPress installation. This can be done via FTP, or you can do so via the
   File Manager in cPanel – just be sure to check the ‘Show Hidden Files’ option
   so you can see the .htaccess file.
 * ‘<FilesMatch “wp-login.php”>
    Deny from All ErrorDocument 403 “Forbidden” </FilesMatch
   >’
 * The above code will block all requests to the wp-login.php file, as no legitimate
   requests should be made to that file now that the WordPress address has been 
   changed. This will protect your account by both preventing login attacks against
   your WordPress installation(s), and reducing the volume of PHP executions being
   processed.
 *  [Remy Perona](https://wordpress.org/support/users/tabrisrp/)
 * (@tabrisrp)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/htaccess-mods-not-working/#post-7307632)
 * If you want to fix the issue, you’ll have to ask this post author directly since
   it’s not official instructions from the plugin 🙂
 *  Thread Starter [ianro](https://wordpress.org/support/users/ianro/)
 * (@ianro)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/htaccess-mods-not-working/#post-7307637)
 * Hi Remy
 * Thanks again for taking the time to reply.
 * Yes, I now appreciate it is not directly a plugin issue.
 * I will discuss with my service provider. Just for information, the instructions
   were to stop repeated brute force attacks that were using up above their “fair
   usage” policy. Wrongly, I had assumed that this was one of the prime purposes
   of the plugin.
 * Thanks for your assistance on this

Viewing 4 replies - 1 through 4 (of 4 total)

 The topic ‘.htaccess mods not working’ is closed to new replies.

 * ![](https://ps.w.org/wps-hide-login/assets/icon-256x256.png?rev=1820667)
 * [WPS Hide Login](https://wordpress.org/plugins/wps-hide-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wps-hide-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wps-hide-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wps-hide-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wps-hide-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wps-hide-login/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ianro](https://wordpress.org/support/users/ianro/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/htaccess-mods-not-working/#post-7307637)
 * Status: resolved