Cannot login, htaccess properly written
-
Hi,
I’ve installed ver 2.2.1 as per instructions. My WordPress installation is not in the root folder (eg. https://example.com) but in a subdir (eg. https://example.com/blog). Thus, my .htaccess is in the /blog subdir.
Move Login detected that .htaccess was not writable so I edited the file manually via SFTP before saving settings in Dashboard. Following is the edited version:
# BEGIN SF Move Login <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^blog/login/?$ blog/wp-login.php [QSA,L] RewriteRule ^blog/postpass/?$ blog/wp-login.php?action=postpass [QSA,L] RewriteRule ^blog/logout/?$ blog/wp-login.php?action=logout [QSA,L] RewriteRule ^blog/lostpassword/?$ blog/wp-login.php?action=lostpassword [QSA,L] RewriteRule ^blog/resetpass/?$ blog/wp-login.php?action=resetpass [QSA,L] RewriteRule ^blog/register/?$ blog/wp-login.php?action=register [QSA,L] </IfModule> # END SF Move Login # 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>
Upon subsequent attempt to log in by clicking on the “Log in” link, I was shown “No no no, the login form is not here“. However, trying to use the new URL “https://example.com/blog/login” resulted in a “Not Found
Apologies, but we were unable to find what you were looking for. Perhaps the search box will help.“I’m not sure what I could be doing wrong. Please help.
Thanks.
- The topic ‘Cannot login, htaccess properly written’ is closed to new replies.