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

elecsho

Power Member
Joined
Apr 21, 2012
Messages
554
Reaction score
159
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
 
Just download http://wordpress.org/download/ and get a copy of login.php
 
thanks man what I needed!
 
just download wordpress and add login.php to you wordpress site.
 
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.
 
hosting login?
you mean WP admin login?
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!
 
Back
Top