Title: Problem with admin redirection
Last modified: August 21, 2016

---

# Problem with admin redirection

 *  Resolved [rmonton](https://wordpress.org/support/users/rmonton/)
 * (@rmonton)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/problem-with-admin-redirection/)
 * Looks like the plug-in has problems to redirect if the WordPress installation
   is in a subdirectory of the domain.
    In my case the blog is at “www.webxprs.com/
   blogdepunisher/” and the the plugin is active redirects to “www.webxprs.com/admin/”,
   which obviously does not exist. My permalinks structure is “[http://www.webxprs.com/blogpunisher/post/&#8221](http://www.webxprs.com/blogpunisher/post/&#8221);
 * [http://wordpress.org/extend/plugins/harden-wp/](http://wordpress.org/extend/plugins/harden-wp/)

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

 *  Plugin Author [Justin](https://wordpress.org/support/users/jgwpk/)
 * (@jgwpk)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/problem-with-admin-redirection/#post-3696589)
 * rmonton,
 * Thanks for bringing up the issue. I will look at this this weekend and update
   the plugin. This is kind of a big issue.
 * Are you about to login? If not; FTP into your site and change the harden-wp plugin
   folder name. The plugin should clean the rewrite rules when you do this.
 *  Thread Starter [rmonton](https://wordpress.org/support/users/rmonton/)
 * (@rmonton)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/problem-with-admin-redirection/#post-3696602)
 * No problem!!.. Thanks for your answer.
 * Yes, that is exactly what I did to get back to login on my site.
    Another quick
   fix is rename or delete the .htaccess file
 *  [klschmitt](https://wordpress.org/support/users/klschmidt/)
 * (@klschmidt)
 * [13 years ago](https://wordpress.org/support/topic/problem-with-admin-redirection/#post-3696747)
 * I just tried deleting the .htaccess file because it was doing the same thing 
   for me and now I STILL can’t log in my website.
 * PLEASE HELP!!!
 * I go to /admin and /wp-admin and wp-login and every time I type in the username
   and password it takes me to the website…

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

The topic ‘Problem with admin redirection’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/harden-wp_ebebec.svg)
 * [Harden WordPress - Instant Protection](https://wordpress.org/plugins/harden-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/harden-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/harden-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/harden-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/harden-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/harden-wp/reviews/)

## Tags

 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [subdirectory](https://wordpress.org/support/topic-tag/subdirectory/)

 * 3 replies
 * 3 participants
 * Last reply from: [klschmitt](https://wordpress.org/support/users/klschmidt/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/problem-with-admin-redirection/#post-3696747)
 * Status: resolved