Unauthorised Login Redirect Plugin
This plugin allows you to effectively hide your wp-login.php and wp-admin by requiring that you access it via a custom URL.
This plugin allows you to effectively hide your wp-login.php and wp-admin by requiring that you access it via a custom URL of your specification, with every other request being redirected to a different URL of your specification.
Installation
- Download the zip file and decompress it.
- Upload “unauthorised-login-redirect” to the “/wp-content/plugins/” directory.
- Activate the plugin through the “Plugins” menu in WordPress.
- Click Login Redirect in the admin menu.
- Change the secret login path, secret get key, and secret get value to whatever you’d like them to be.
Screenshots

The admin interface.
FAQ
I’ve forgotten my secret login path! How can I get logged in? Remove the following row from your wp_options table: rs_ulr_settings
Once it’s removed you’ll be able to log in to the site as normal and adjust the plugin settings.
Changelog
0.3.9.1
0.3.9
- Testing with WordPress 6.0.
0.3.8
0.3.7
- Testing with WordPress 5.3.
0.3.6
- Testing with WordPress 5.1.
0.3.5
- Testing with WordPress 4.7.2.
0.3.4
- Adjustment made for admin-ajax.php.
0.3.3
- Adding nonce to settings update.
0.3.2
- Reworked redirect options.
0.3.1
0.3
0.2.1
0.2
0.1