First step is always to give us a link to view the site. That may give us some insight.
Thread Starter
bamazy
(@bamazy)
tigtog, sorry for that. The link is http://www.bdm.az.
What you’re typing above does not need the index.php at the end.
When I click on “Log In” in the Meta sidebar widget on the front page it takes me to a proper-looking login page – what happens when you enter your username and password there? Does it take you to the Admin Dashboard or not?
Thread Starter
bamazy
(@bamazy)
The problem is that it does not take me to Admin Dashboard but it loads the front page you see there. It used to show Admin Dashboard widget on top and when clicked, I saw proper URI string on address bar but front page was loading. Then I disabled admin dashboard bar from config file. I thought it might be htaccess problem but I googled and found it was ok.
You need admin username and password?
I’m confused. Are you clicking on the “Log In” link in the Meta sidebar widget or not? Because you definitely need username and password to log in. Once you’re logged in you should see a “Site Admin” link in the Meta sidebar widget that you should click on.
Thread Starter
bamazy
(@bamazy)
When I click on log in link in meta sidebar, it takes me to login page and I write username and password and I see Site Admin link in the Meta sidebar. Then I click on it to go to admin dashboard to change settings, add categories, etc. but it does not take me there. URL on address bar of the browser indicates bdm.az/wp-admin/ but it shows front page.
Disable all of your plugins. If you can’t get to them from the backend, and it sounds like you can’t, rename the plugin folders over FTP.
Also, check your .htaccess file. You’ve got some odd redirection going on. Pretty much anything I put in the url goes to the home page. For example: http://www.bdm.az/thisisnotapage/
Thread Starter
bamazy
(@bamazy)
There is no plugin enabled right now. I renamed the plugin folder and created a new folder named plugin via FTP and it didn’t work. Content of htaccess is the same from a different working site which is below:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Thread Starter
bamazy
(@bamazy)
I guess it’s the htaccess causing it but don’t know what line exactly doing it. When I comment htaccess lines, http://www.bdm.az/wp-admin/index.php gives internal server error. But http://www.bdm.az/wp-admin/index.html opens the test page that I put on FTP. So weird…
Thread Starter
bamazy
(@bamazy)
Noone knows what might cause the problem? 🙁 I’m stuck with it and being late with the project. 🙁
I’ve been thinking about it some, but I’m sorry. I don’t have an answer. Are there any other .htaccess files laying around? How much access to server configuration do you have?
Thread Starter
bamazy
(@bamazy)
apijdl,
Thanks for your time. I asked the customer to change its hosting as the company hosting it will not be happy to help. I’ve just seen on another post here that it was because of a security module which was installed on the server.
I’ve just seen on another post here that it was because of a security module which was installed on the server.
That could be. I was suspecting server configuration. What was the module and where is that other post?
Thread Starter
bamazy
(@bamazy)
http://ww.wp.xz.cn/support/topic/404-error-on-wp-admin-1 This is the post URL. The post author has mentioned that the module is suhosin which overwrites htacess. Good to know.
Thanks. It is good to know.