Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Problem with SSL - redirection loop? 
 
ulterior
Jr. Member
 
Total Posts:  3
Joined:  2008-04-07
 

Hi,

So I’ve setup/installed my magento website hosted on (MT) using the one click installer. So far, so good for a few weeks.

My client wants to add SSL encyrption to every page of the website, so I import a goddady SSL certificate into (MT).

I try to setup things in magento to automatically use https by change the “base_url” field to “https://www.amberforever.com”, which then stops the website working completely (I have to delete the fields in mySQL and the cache folders to restore).

I also have tried adding a rewritee to the .htaccess:

RewriteEngine On 
RewriteCond 
%{SERVER_PORT} 80 
RewriteRule 
^(.*)$ https://amberforever.com/$1 [R,L]

But this then makes the website time out with an error:

Redirect Loop
Redirection limit for this URL exceeded.  Unable to load the requested page.  This may be caused by cookies that are blocked.

as you can see https://amberforever.com/

Any ideas as to why these approaches arent working would be greatly appreciated.

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
dmitry
Jr. Member
 
Total Posts:  5
Joined:  2007-08-31
 

you don’t need to have encryption on every page, it doesn’t make sense. it will only significantly reduce the performance of your website. the only part that requires encryption is checkout section.

therefore your unsecure base_url should be http://www.amberforever.com and secure base_url is https://www.amberforever.com

why is your client needs all pages encrypted?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ulterior
Jr. Member
 
Total Posts:  3
Joined:  2008-04-07
 

Yea, i know it is entirely uneccessary, and slows down browisng somewhat, but the client is insistent on it given that it (supposedly) increases conversions.

Regardless, Im still having problems getting the SSL working on any part of the site. I’ve tried changing my URLs to those that you suggest, however then the site becomes inaccessible (have to delete the values in SQL and delete the cache over ftp).

Any other suggestions?

 
Magento Community Magento Community
Magento Community
Magento Community
 
dmitry
Jr. Member
 
Total Posts:  5
Joined:  2007-08-31
 

I’m sorry if it sounds stupid, but are you absolutely positive that you installed SSL correctly? There are a few articles at MT how to do this (http://kb.mediatemple.net/categories/Browse+by+Category/SSL/) in case you didn’t read it yet. I’d test first to see if the SSL is working correctly and then move to the Magento part.

 
Magento Community Magento Community
Magento Community
Magento Community
 
dmitry
Jr. Member
 
Total Posts:  5
Joined:  2007-08-31
 

Also take a look at this quote below.

We’ve installed Godaddy SSL’s for a few of our clients. They do take a little longer to install because of the intermediate cert, but they seem to work just as well as the more popular RapidSSL Cert we offer. If you are looking for a very affordable and easy to install SSL Certificate, I recommend a RapidSSL. For the larger stores, with more transactions, I definitely recommend looking into a full validation EV cert.

 
Magento Community Magento Community
Magento Community
Magento Community
 
shopwoc
Member
 
Total Posts:  45
Joined:  2008-10-07
 

I’m having the same problem. I serve with MT and have a Godaddy SSL. I am getting the Redirect Loop error randomly though, sometimes on non-secure pages but always on secure pages.  Depending on the browser it takes me back to the home page or give me a Redirect Loop error.  Could this be a Media Temple problem?  Help! Please!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Oldgamer
Sr. Member
 
Avatar
Total Posts:  142
Joined:  2008-09-12
 
dmitry - 03 November 2008 06:52 AM

you don’t need to have encryption on every page, it doesn’t make sense. it will only significantly reduce the performance of your website. the only part that requires encryption is checkout section.

therefore your unsecure base_url should be http://www.amberforever.com and secure base_url is https://www.amberforever.com

why is your client needs all pages encrypted?

I guess that url should ends with “/”

 
Magento Community Magento Community
Magento Community
Magento Community
 
kaamiljj
Sr. Member
 
Avatar
Total Posts:  125
Joined:  2009-03-15
Kapaa
 

Same problem. My SSL is installed properly but I’m unable to redirect people from http://www.mydomain.com and mydomain.com to
https://mydomain.com

I tried changing the htaccess file but website stopped working and I had to clear cache and edit database (same as above).

In addition my SSL works on the home page, but doesn’t on the checkout pages.

What’s the solution to that one? Anybody knows?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Saggy
Sr. Member
 
Total Posts:  133
Joined:  2009-02-03
 

Same problem.  It gives me the following error

“Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.”

 
Magento Community Magento Community
Magento Community
Magento Community
 
mammarose
Jr. Member
 
Total Posts:  11
Joined:  2011-02-09
 

I know this is an old thread, but did anyone get this figured out..I am having a similar issue.

 
Magento Community Magento Community
Magento Community
Magento Community
 
podlom
Jr. Member
 
Avatar
Total Posts:  3
Joined:  2009-03-12
Ukraine, Kyiv
 

I have solved the same problem by uncommenting line:
#RewriteBase /
--->
RewriteBase /

in main Magento .htaccess configuration file.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top