Title: 404 error option
Last modified: August 21, 2016

---

# 404 error option

 *  [Silas Fernandes](https://wordpress.org/support/users/silas-fernandes/)
 * (@silas-fernandes)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/404-error-option/)
 * Is there any possibility of you add an option to generate a 404 error when accessing“
   wp-admin” instead redirect to homepage?
 * I await your response.
 * Thanks
 * [https://wordpress.org/plugins/hc-custom-wp-admin-url/](https://wordpress.org/plugins/hc-custom-wp-admin-url/)

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

 *  [jaco44](https://wordpress.org/support/users/jaco44/)
 * (@jaco44)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/404-error-option/#post-4779785)
 * I have the same question as above (404 error vs. directing to homepage). My site
   has been under a relentless attack today, with hits to my wp-login.php page about
   every minute for as long as I bothered to look back at the logs (many hours).
   My server resource load is going thru the roof & my hosting co. says that because
   this plugin redirects from wp-login to the homepage, it’s generating not one,
   but two hits to my site every time a bot makes another login attempt.
 * My hosting co. said that a 403 error vs homepage redirect should resolve this
   issue. Please let us know if this is possible now or in the near future.
 *  [xsit3d](https://wordpress.org/support/users/xsit3d/)
 * (@xsit3d)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/404-error-option/#post-4779791)
 * I am getting hammered with wp-login.php requests. It would be great to redirect
   these requests using htaccess to a static page like 404.html
 * I just don’t understand htaccess enough so I thought I’d ask here first.

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

The topic ‘404 error option’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hc-custom-wp-admin-url_8fdeed.svg)
 * [HC Custom WP-Admin URL](https://wordpress.org/plugins/hc-custom-wp-admin-url/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hc-custom-wp-admin-url/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hc-custom-wp-admin-url/)
 * [Active Topics](https://wordpress.org/support/plugin/hc-custom-wp-admin-url/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hc-custom-wp-admin-url/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hc-custom-wp-admin-url/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [xsit3d](https://wordpress.org/support/users/xsit3d/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/404-error-option/#post-4779791)
 * Status: not resolved