1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I lost my wordpress login page(wp-login.php)

Discussion in 'Blogging' started by elecsho, Oct 8, 2013.

  1. elecsho

    elecsho Power Member

    Joined:
    Apr 21, 2012
    Messages:
    548
    Likes Received:
    132
    I accidentally deleted that file in my ftp manager. Do you know how I can recover it? Is there a way I can download it from somewhere. If I re-install wordpress would I lose the articles?

    Thanks
     
  2. lancis

    lancis Elite Member

    Joined:
    Jul 31, 2010
    Messages:
    1,632
    Likes Received:
    2,384
    Occupation:
    Entrepreneur
    Location:
    Milky Way
    Home Page:
    • Thanks Thanks x 1
  3. elecsho

    elecsho Power Member

    Joined:
    Apr 21, 2012
    Messages:
    548
    Likes Received:
    132
    thanks man what I needed!
     
  4. Roshaen

    Roshaen Elite Member

    Joined:
    Sep 24, 2012
    Messages:
    2,238
    Likes Received:
    1,351
    Location:
    Please Pray For My DAD
    just download wordpress and add login.php to you wordpress site.
     
  5. amrit0965

    amrit0965 Newbie

    Joined:
    Aug 10, 2013
    Messages:
    4
    Likes Received:
    1
    How to upload file in .wordpress blog?
    i used filezilla, but i'm unable to login.
     
  6. gamingmaster42

    gamingmaster42 Regular Member

    Joined:
    Jul 21, 2010
    Messages:
    473
    Likes Received:
    176
    Home Page:
    Don't use your Wordpress login for Filezilla, use your hosting login.
     
  7. amrit0965

    amrit0965 Newbie

    Joined:
    Aug 10, 2013
    Messages:
    4
    Likes Received:
    1
    hosting login?
    you mean WP admin login?
     
  8. brooktroutballer

    brooktroutballer Registered Member

    Joined:
    Jul 21, 2013
    Messages:
    82
    Likes Received:
    27
    Who is your host? Go to their site and find the files. That's where you upload that. You should easily be able to access it w/ wp login info.
     
  9. oxonbeef

    oxonbeef BANNED BANNED

    Joined:
    Jan 4, 2009
    Messages:
    2,242
    Likes Received:
    7,872
    Log into your host > Cpanel > filemanager >Your domain, public html> wp root folder.

    upload new wp-login.php

    Edit wp-login.php as follows:


    Go to the case retrievepassword section, found under this comment:


    Code:
    // redefining user_login ensures we return the right case in the email
    
    Replace:
    Code:
    $user_login = $user_data["user_login"];
    
    With:
    Code:
    $user_login = $user_data->user_login;
    
    Job's a goodun!
     
    • Thanks Thanks x 1