Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am using wordpress 3.6, the latest version. In this version when i access login page for admin url like www.example.com/wp-admin and i enter user name and password, wordpress redirects me to the same page.

But when i try to access using www.example.com/wp-login.php then it works perfectly

When i try to login using wp-admin i am redirected to www.example.com/wp-login.php?redirect_to=www.example.com/wp-admin%2F&reauth=1 strange url.

I googled it and found interesting thread on wordpress.org http://wordpress.org/support/topic/wp-admin-suddenly-not-working, this thread seems inactive and old. I tried to apply all the suggestion but doesn't work

How to fix this issue ? Is there any plugin for that or is there any error in some of the plugins. ?

Update I am using Subdomains and my site is accessed at www.subdomain.examplesite.com. And i am using windows hosting with IIS server.

share|improve this question
    
Are you using subdomain? –  Vinod Dalvi Sep 6 '13 at 9:29
    
Yes.. and edited the question too-!! –  mohit_rocks Sep 6 '13 at 9:40
    
If you can login via wp-login.php .... have you tried to login via wp-login.php and disable all plugins to see if one of them is causing the problem? By the way, www.example.com/wp-login.php?redirect_to=www.example.com/wp-admin%2F&reauth=1 is not strange, it is totally normal, but it should be something like www.example.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.example.com%2Fwp-admi‌​n%2F&reauth=1 –  cybnet Sep 6 '13 at 10:19
    
I can login using wp-login.php but i am trying to login using wp-admin file. –  mohit_rocks Sep 6 '13 at 10:53
    
I had a similar issue when trying to login to an URL without the www and redirect was to www version. This was because I had hard-coded a link with www and later configured the site to have no www in the site url in the dashboard settings. Also you can try clearing your cache and cookies. –  TomC Oct 31 '13 at 12:58
show 1 more comment

1 Answer

Plugin conflicts cause most of these problems.

If you are able to log into using wp-login.php kindly log inside and check after disabling one by one each plugin and check your site wp-admin in different browser if disabling a particular plugin gives you access to wp-admin then that plugin is the cause of this.

It also happens in plesk cpanel sometimes due to permission problems.

Kindly check if you are able to add more media and or try adding one more plugin. If it gives error while uploading media that cannot add or permission problem then try to change folder permissions to 755 for wp-admin and you should be good.

share|improve this answer
    
sure.. i will try and let you know...:) –  mohit_rocks Sep 6 '13 at 11:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.