Wordpress login and register issue,

im not sure if its something ive done or if its a plugin but both my login and register ppage are not working now,

my login page mysite.com/login

what would be the simplest and easiest way to fix this ?

When you say “not working” what do you mean? The page won’t display? It gives an error message? What?

initially says “Page not found” then when I click login “This webpage has a redirect loop”

If there has been recent change to the htaccess file that could have caused this issue.

This solution worked for me on my local machine, where I have multiple WordPress installs running - if you are having problems with a login redirect loop, try adding this code

define('ADMIN_COOKIE_PATH', '/');

define('COOKIE_DOMAIN', '');

define('COOKIEPATH', '');

define('SITECOOKIEPATH', '');

just below this line ```define(‘WP_DEBUG’, false);````

in your wp-config.php file right before the line that says /* That's all, stop editing! Happy blogging. */.

There’s a really good explanation of why here.

2 Likes

thanks

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.