Rename wp-login.php (unmaintained)
[resolved] A request (8 posts)

  1. gizmomol
    Posted 1 year ago #

    Thank you for your plugin "Rename wp-login.php".

    It works as you designed and has already stopped many Bots on my site. Your plugin is the first I have seen that actually prevents access to the default /wp-login.php which is targeted by many bots.

    It works and very well.

    I also use another plugin "User Switching" which allows a site admin to assume the user_id of another. We use this plugin often enough to test user permissions and even fix a few things not editable using wordpress.

    Unfortunately your plugin disables the "user switching" plugin. The switching plugin is http://wordpress.org/plugins/user-switching/ . It passes GET parms like this ?action=switch_to_user&user_id=323&_wpnonce=123456790.

    I diffed your changes of wp-login.php and they look very logical and simple enough. But for some reason it does not work with user switching. The original user switching does not require the administrator to know user passwords and do an new login.

    The "user switching" is a popular plugin so I am requesting that you enable you plugin to support it as well.

    Thanks for you great plugin!


  2. Ella Iseulde Van Dorpe
    Plugin Author

    Posted 1 year ago #

    Thank you for your feedback! I’ve used User Switching before and it's very useful indeed, so I’ll do my best to make it work. I’ll keep you updated.

  3. Ella Iseulde Van Dorpe
    Plugin Author

    Posted 1 year ago #

    @gizmomol @johnbillion

    Found the problem - I hook into init just before User Switching gets the chance, so I’ll give it priority 11 instead of the default 10 (we both hook at 10).

    I released a new version, 1.5, which should fix your problem.

  4. gizmomol
    Posted 1 year ago #

    I tested your Rename wp-login.php plugin, version 1.5 on WP 3.42 and 3.6 and it worked correctly on both WP versions. The priority 11 change enabled the User Switching plugin to work.

    Your plugin is really useful and adds a simple solution to a nagging WP problem.

    Thank you Avryl!

  5. Thanks for the update Avryl!

  6. Ella Iseulde Van Dorpe
    Plugin Author

    Posted 1 year ago #

    @johnbillion Just wondering, but why don't you hook into login_init?

  7. It's just a remnant of how the plugin used to work. The switch links used to point to wp-admin rather than wp-login.php but I subsequently changed it. I'll bear it in mind for the next version!

  8. Ella Iseulde Van Dorpe
    Plugin Author

    Posted 1 year ago #

    Ok, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Rename wp-login.php (unmaintained)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic