Hello,
!!! VERY IMPORTANT !!!
always make backups before editing especially .htaccess
If you you can access your site with FTP client (FileZilla) You could try replacing the code in .htaccess with following.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
That should get you to be able to log in. This should work unless you did renaming of some files. I do not know what “recommended steps” you did.
thanks vladogonda,
I’ve accessed .htaccess and it starts with the following.
# BEGIN iThemes Security
# BEGIN Hide Backend
# Rules to hide the dashboard
RewriteRule ^(/)?wplogin/?$ /wp-login.php [QSA,L]
# END Hide Backend
# BEGIN Tweaks
I do remember changing the “backend” yesterday.
Do I replace everything in the .htaccess document with what you suggested or just parts of it? It looks like there is a bunch of security related code in here.
I tried replacing all the code in .htaccess with suggested. Didn’t work. I must have renamed some files yesterday.
thanks anyway.
make a back up of your htaccess file and then use only code I gave you to see if you can access your login page
is the url what giving you error yourdomain.com/wp-login.php ?
Yes, the url is going from this:
http://my domain/wp-login.php?redirect_to=http%3A%2F%2Fmy domain.com%2Fwp-admin%2F&reauth=1
to this:
http://my domain/not_found
From what I understand you are using plugin “better wp security”. the issue might be that if you choose a name for your new loging page and the name contains upper case letters you should try to loging using only the lowercase letters. also restore your htaccess to the original.
I think according to what I know so far you should be able to access your admin loging from here http://yourdomain.com/wplogin
Hey! That worked.
It must have been searching for my old login name.
Thanks a million vladogonda,
I was one step away from a re-install
Much appreciated.