Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

I keep getting sent to the log in page WordPress


I can't do anything on my wordpress site right now, because for every click I get sent to the log in page.

I can click on certain things in the control panel such as "Pages" or "Posts", but if I try to edit or save anything it takes me to the log in page.

In the address bar it says:


or similar.

This all started when I updated the browser and lost the saved password and had to reset it. Not sure the connection but that's when the problems started.

Answers (6)


Denzel Chia answers:


May I know how did you reset your password? By going to WordPress login page or via phpMyAdmin? And any other things that you may have done?

If you changed your password in database using phpMyAdmin, did you save password as md5?

Since you can login, why don't you clear your browser cache, login to WordPress Admin, go to your profile page and reset your password again?

You can also try disabling all plugins or any plugin that you installed recently, so as to ensure that it is not caused by any plugin.

Hope it helps.


Denzel Chia comments:


Just thought of another possibility, something must have caused your user capabilities to change during your password reset, if your user capabilities cannot edit post or page or anything. You will be redirected to login page, every time you try to update, change, or post something.

You can try register another administrator user access and use this new profile instead.
If registration goes well you will be able to control everything again.

If not you can also try to re upgrade your blog, by going to update in WordPress admin, hopefully it can reverse any wrong done.

Whatever you do, please do not manually delete any files, as this may lock you out of your blog indefinitely.



Tobias Nyholm answers:

Check you /wp-content/ dir. Is there any file named "advanced-cache.php" or "db.php", delete that file and you are good to go. =)


Ivaylo Draganov answers:

Did you set any constants in your `WP_ your <em>wp-config.php</em> file? This seems to me like an issue with the paths to WordPress. Try adding this to your <em>wp-config.php</em>(or edit the values if they exist):

define('WP_SITEURL', '');
define('WP_HOME', '');

<strong>Note:</strong> there should be no trailing slash at the end.

I assume that your website is accessed at <em></em> and your wp-login page at <em></em>. If your website is accessed at <em></em> just set WP_SITEURL and WP_HOME to be the same.


Pau answers:

your permalinks might cause that. try to reset your permalinks back to default at your dashboard under settings tab


Nilesh shiragave answers:


First add this code in your wp-config.php file


If you still get same login issue check this link for more details.


Jeremy Jared answers:

<strong>Try the New Log-In File </strong>

It is from the Wordpress Codex page: [[LINK href=""]]Login Trouble[[/LINK]].

You might also try re-installing Wordpress. This can be done by going to Dashboard from the Wordpress Admin page. Click on the Dashboard icon in the top of the left side admin bar. Click updates under the Dashboard menu. It will say you already have the newest version, click install anyway.