Jump to content

Redirect loop error after Enabling SSL on V1.6.0.9


bertismus

Recommended Posts

I recently upgraded to V1.6.0.9 and the new version is excellent except for one bug. The bug appears when SSL is enable, and "Force the SSL on all the pages" is disabled, I get a redirect loop when navigating to any category or cms page. However if I enable "Force the SSL on all the pages" that problem goes away. 

 

I need the site to work when "Force the SSL on all the pages" option is DISABLED because forcing all pages to SSL slows down the site a lot.

 

Your thoughts on how to fix this are much appreciated.

Edited by bertismus (see edit history)
Link to comment
Share on other sites

Hi,

 

Have you checked your SSL URL that is defined under your Preferences > SEO & URLs settings page?

 

Having used 1.6.0.9 (and now on 1.6.0.11) I have not had this issue with SSL enabled but Force SSL disabled.

 

However, I have experienced redirect loop issues in the past and most times it has been because of this setting.

 

HTH!

Link to comment
Share on other sites

Hi,

 

Have you checked your SSL URL that is defined under your Preferences > SEO & URLs settings page?

 

Having used 1.6.0.9 (and now on 1.6.0.11) I have not had this issue with SSL enabled but Force SSL disabled.

 

However, I have experienced redirect loop issues in the past and most times it has been because of this setting.

 

HTH!

Shop domain and SSL Domain are exactly the same in both fields. at first I used a non-www domain for both, now I have www in both and problem still exists. Keep in mind, Im using the pretty url module, but after disabling it, nothing changes.  When you did experience the redirect loop issue, what was the cause? 

Edited by bertismus (see edit history)
Link to comment
Share on other sites

Hi,

 

Oh... well in that case I'm not sure if I can be of much help.

 

I had a redirect issue when we moved our site to another domain... it wasn't specifically related to SSL. It was just a similar redirect issue... I was able to fix it by changing the values in the Shop and SSL domain. It was just an idea.

 

I don't know much time it takes to set up the pretty url module (I don't use it), but maybe you could try completely uninstalling it and see if it works. It is very rare, but I have had some cases where modules still cause conflict issues even when disabled (i presume it has something to do with overrides). Has this ever worked? Do you have any other modules you have installed since the last working time?

 

Also, just to be clear, when you say redirect loop you do mean that there is an error pages stating the redirect is setup in a loop, right?

 

HTH!

Link to comment
Share on other sites

Hi,

 

Quick question...

 

So with SSL enabled but Force SSL disabled, when you go to a category page (or any page with the issue) is there a https or http in the url. In another words, if the page shouldn't be forced to SSL is it still trying to access it via a secure url?

 

Thanks!

Link to comment
Share on other sites

Hi,

 

Quick question...

 

So with SSL enabled but Force SSL disabled, when you go to a category page (or any page with the issue) is there a https or http in the url. In another words, if the page shouldn't be forced to SSL is it still trying to access it via a secure url?

 

Thanks!

Great question! There is HTTPS in the URL when Force SSL is disabled on all pages EXCEPT the home page. The home page is a normal http. 

 

Perhaps the issue is somewhere in the FrontController.php file?

Edited by bertismus (see edit history)
Link to comment
Share on other sites

Hi,

 

Oh... well in that case I'm not sure if I can be of much help.

 

I had a redirect issue when we moved our site to another domain... it wasn't specifically related to SSL. It was just a similar redirect issue... I was able to fix it by changing the values in the Shop and SSL domain. It was just an idea.

 

I don't know much time it takes to set up the pretty url module (I don't use it), but maybe you could try completely uninstalling it and see if it works. It is very rare, but I have had some cases where modules still cause conflict issues even when disabled (i presume it has something to do with overrides). Has this ever worked? Do you have any other modules you have installed since the last working time?

 

Also, just to be clear, when you say redirect loop you do mean that there is an error pages stating the redirect is setup in a loop, right?

 

HTH!

That's right, it's redirecting in a way that will never land on a page, it will keep redirecting without end, hence redirect loop

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...