1

After changing Base URL to https & Base Link URL to {{secure_base_url}} in Admin > System > Configuration > Web > Unsecure, website is stuck in redirect loop !

This webpage has a redirect loop ERR_TOO_MANY_REDIRECTS message

Now I can't access to the site and admin panel.

2 Answers 2

6

Found the solution. Accessed the core_config_data table via phpMyAdmin, and

removed the value of web/cookie/cookie_domain and set web/cookie/cookie_httponly to 0.

Cleared the cache by removing the files in var/cache. Site's back up :)

1
  • Its works for me 40 default 0 web/cookie/cookie_httponly 0 39 default 0 web/cookie/cookie_domain 0
    – matinict
    Jan 24, 2016 at 8:48
1

If you can access your database through your cPanel, find the core_config_data table, and update your URL's there under web/unsecure/base_url, and web/secure/base_url. Not sure why you're getting that redirect (maybe a .htaccess issue), but at least you should be able to change your URL's back without using the Magento admin panel.

2
  • I made the suggested changes and flushed the cache but still get the redirect error. Is there something in the .htaccess file that might need to be changed/added?
    – Pretendo
    Jul 30, 2015 at 19:26
  • In .htaccess, RewriteBase is something to check out if you've renamed the Magento root directory or moved it a level. Jul 31, 2015 at 3:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.