WordPress.org

Ready to get started?Download WordPress

Forums

need // (two slashes) to login to wp admin (4 posts)

  1. elizabethrichardson
    Member
    Posted 6 years ago #

    Hello,

    My install had gone fine, but I need to use //wp-login.php (with two slashes) to be able to login to WP admin.

    What do I need to change so that I can login normally at /wp-login.php (with one forward slash)....?

    Thanks,

    Elizabeth

  2. elizabethrichardson
    Member
    Posted 6 years ago #

    Found out where the problem lies...it is a browser issue.

    I don't quite understand why, but I've been working with Opera and can only login to wp-admin if I include the second slash in the address.

    Firefox, Safari and Explorer all find the correct path as normal.

  3. sklass
    Member
    Posted 5 years ago #

    I am so glad to have come across your post as I had the exact same problem after attempting to upgrade my version of WP then reverting back to my previous one. I was completely unable to get into my admin section at all, and when I tried the // on the offchance it would work after reading your post I managed to get in! I always only needed the one / prior to the attempted upgrade. I tried in a different browser (Safari) and only needed the one / so I am at a loss to explain or understand it. If anybody is able to tell me how I can go about changing the navigation back to the single / (which would then also allow me to access my admin section from the "Site Admin" link on my blog home page - something I have not been able to do since reverting back from version 2.6.2) then I would be ever grateful!!

    Thanks,

    Sarah
    http://www.sarahklass.com

  4. Chanon
    Member
    Posted 5 years ago #

    Hi sklass

    Place this code below "RewriteBase..." in your .htaccess files

    RedirectRule ^wp-login.php$ http://www.yourdomain.com//wp-login.php [L,R=301]

    Please note that above code is all in one line

Topic Closed

This topic has been closed to new replies.

About this Topic