Try accessing via http://domain.com/wp-login.php instead of /wp-admin
You may also check and ensure you have the default permalinks code below in your .htaccess file.
# 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
Hope this helps.
Thanks for your kind reply tim. Where is the .htaccess file? The problem is like this:
Wordpress is installed in the folder calvary under httpdoc folder in the server directory.
When I type http://domain.com/calvary/wp-login.php as per your advise above, and enter login details, the link changes to http://domain.com/calvary/index.php/wp-login.php with an error message: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
now how to solve this and get back my admin page to edit the pages, etc?
Usually the .htaccess file can be located in the website folder and in your case you can find it inside /calvary folder. Please check on the content of your .htaccess and paste it here so we can check and advise.
Thanks again for your concern and reply.
I did check the .htaccess file and here’s the code given below found therein:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /calvary/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /calvary/index.php [L]
</IfModule>
# END WordPress
It looks similar, yet when I type: calvarycentre.in/calvary/wp-pogin.php, it opens the login panel and after logging in, it redirects to : http://calvarycentre.in/calvary/index.php/wp-login.php?redirect_to=http%3A%2F%2Fcalvarycentre.in%2Fcalvary%2Fwp-admin%2FIndex.php&reauth=1
And the error message is displayed is:
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
How to solve this and access the Dashboard for editing pages, etc?
correction: when I type: calvarycentre.in/calvary/wp-login.php……