Multi-site redirect wp-login.php to non theme 404 page?
-
Hi,
I am using your plugin on my multi-site install and it’s working great but it is getting so many requests to “mysiteurl.com/-/-/-/-/-/-/-/-/-/-/” (upwards of 20k per day) that serving each theme’s default 404 page is causing the server to slow down significantly.
I tried blocking wp-login.php in the htaccess to no avail and am currently using a plugin I wrote to redirect all 404’s to a very simple 404 page. The problem this causes is legitimate users on the site will get this ugly simple 404 page instead of the pretty theme one.
Is there a way I can redirect the wp-login.php or “/-/-/-/…” to its own 404 page without affecting regular users or is there a way I can block access to these pages entirely to avoid serving the bots anything while keeping the default 404 behavior intact?
Thanks.
- The topic ‘Multi-site redirect wp-login.php to non theme 404 page?’ is closed to new replies.