Jump to content

WordPress Admin panel login issue for Cookies


obaid360

Recommended Posts

1] Try to login in different browser 

2] Disable any security or caching plugin installed on your site. You can do this by renaming the plugin folder (via FTP or cPanel > File Manager )

3] Open the "wp-config.php" file (via FTP or cPanel > File Manager ) and add the following code just above "/* That’s all, stop editing! Happy blogging. */"

define( 'COOKIE_DOMAIN', '.domain.com' ); // change domain.com with your actual domain

 

  • Like 11
Link to comment
Share on other sites

On 4/28/2023 at 8:28 PM, happydesk said:

If you see this message try to clean your cookie and open website into new user from browser. If still not work then delete .htaccess file and login back again and re-generate again. 

@happydesk after deleting .htaccess file, it's showing 404 error while try to login from wp-admin panel

  • Like 9
Link to comment
Share on other sites

On 4/29/2023 at 10:11 PM, obaid360 said:

@happydesk after deleting .htaccess file, it's showing 404 error while try to login from wp-admin panel

Try to visit your website login page like this https://domain.com/wp-login.php

If still not work then create a .htaccess file with those code and name the file name exactly .htaccess

 

# BEGIN WordPress

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

 

Edited by happydesk
  • Like 11
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...