obaid360 Posted April 28, 2023 Share Posted April 28, 2023 Hello, When I try to login in WordPress admin panel it's showing an error like this "Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress." kindly help me to fix it 12 Link to comment Share on other sites More sharing options...
happydesk Posted April 28, 2023 Share Posted April 28, 2023 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. 13 Link to comment Share on other sites More sharing options...
hey_webdesign Posted April 28, 2023 Share Posted April 28, 2023 @happydesk yeah, you are right that's the way 9 Link to comment Share on other sites More sharing options...
hey_webdesign Posted April 28, 2023 Share Posted April 28, 2023 @obaid360 When you do more WP developments, remember to create the browser's profile. It will help you to manage your web access easily and with no issues. 10 Link to comment Share on other sites More sharing options...
amolgigs Posted April 29, 2023 Share Posted April 29, 2023 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 11 Link to comment Share on other sites More sharing options...
obaid360 Posted April 29, 2023 Author Share Posted April 29, 2023 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 9 Link to comment Share on other sites More sharing options...
happydesk Posted May 1, 2023 Share Posted May 1, 2023 (edited) 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 May 1, 2023 by happydesk 11 Link to comment Share on other sites More sharing options...
wpstartup Posted May 8, 2023 Share Posted May 8, 2023 Updating WordPress security keys and salts will invalidate all existing cookies, copy salt from: https://www.producthunt.com/products/wordpress-5-0-bebo#wordpress-secret-salt-key Replace the salt file from "wp-config.php" Boom!!! This will now work perfectly I hope 10 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now