• Resolved mike_sparkjoy

    (@mike_sparkjoy)


    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.

    https://wordpress.org/plugins/rename-wp-login/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ella

    (@ellatrix)

    the -/-/… are just wp-login.php requests. The plugin changes the request variable to that, but it’s just people trying to access wp-login.php. Doesn’t denying wp-login.php from all in htaccess stop this? If you disable the plugin, do you get the same amount of requests but for wp-login.php?

    Thread Starter mike_sparkjoy

    (@mike_sparkjoy)

    Denying from all didn’t appear to have an effect yesterday, now I believe it is working. No idea why I wasn’t seeing this earlier.

    Plugin Author Ella

    (@ellatrix)

    Okay, that’s great! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multi-site redirect wp-login.php to non theme 404 page?’ is closed to new replies.