Nice Login Widget
[resolved] Rename wp-login.php to userlogin (4 posts)

  1. Sofia55
    Posted 2 years ago #


    I am using the rename "wp-login.php" plugin and have renamed my WordPress login to "userlogin". This is working perfectly with WordPress.

    I just installed the "nice login widget" which is great for what I need but the login link is the wp-login.php link which no longer exists.

    How would I change this plugin so that login is directed to "userlogin" instead of the "wp-login.php" link.

    Thank you!


  2. Ella Iseulde Van Dorpe
    Posted 2 years ago #

    The plugin author needs to use wp_login_url() instead of hardcoding wp-login.php. I also get a lot of notices and warning for this one btw.

    Author of rename wp-login.php

  3. Sofia55
    Posted 2 years ago #

    Thanks for your reply Janneke!

    Is this an easy fix that I can do on my end or does the author have to take care of this? By easy fix, I mean delete one or two codes and replace them with another.

    sgPlanwize if there is an easy fix that I can do on my end to your plugin to redirect login to userlogin instead of wp-login.php, please do let me know. It is perfect for what I need right now and I really would like to use it.

    If not please let me know if you could look into this for your next update.


  4. sgPlanwize
    Plugin Author

    Posted 2 years ago #

    Hi guys and sorry for the delay,

    Janneke Van Dorpe you right, I do need to use the built in function wp_login_url() , I didn't know that there is an official way to rename the wp-login.php file.

    Sofia55, for now I wouldn't recommend changing lines in the code if you are not familiar with php and html.
    I can offer you to use the wp-ajax authentication(you can choose it under the widget options) which doesn't require wp-login.php file. It may help you until we will release the next version with this bug fixed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Nice Login Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic