Magento & Continues Redirection

Have you recently installed SSL certificate on website?
Have you migrated website from one place to another?
Have you made changes into a database for web_url?
Have you just changed your web address?

If any of question answered 'Yes' and facing issue of Magento continues redirection.
Well, you are at right place for solution.
So what are the solutions can be possible, Let's check it out.

1. please check value of web/secure/use_in_adminhtml and web/secure/use_in_frontend settings in table core_config_data. Those values set to "1".

Run the follow commands to set values.

UPDATE core_config_data SET value = REPLACE(value, '0', '1') WHERE path = 'web/secure/use_in_frontend';

UPDATE core_config_data SET value = REPLACE(value, '0', '1') WHERE path = 'web/secure/use_in_adminhtml';

2. This error may occur because of the cookie domain in the database. Go to your database and look in the table core_config_data where should see a path called web/cookie/cookie_domain. 
Please make sure the domain matches the one you installed Magento.

3. In some rare cases deleting the cookies specific to the Magento installation and clearing Magento cache files in var/cache will resolve the problem.

4. Some developers have also solved it by deleting var/cache/* and than run setup:static-content:deploy command.

If any of the solution solve your problem, please share it with others.

Please share, comment and subscribe for future posts and inspire more.



Comments

Popular posts from this blog

Hosting and Goodies

Magento 2 Import Scripts

How to add product attribute value in minicart magento 2