On one of my sites, I have cs-cart version 4.2.4. On some pages, it has an infinite redirect to https. The page does not show content, only a continue link to the same page. Here is an example:
https://gotouchpro.com/our-clients/
My .htaccess file looks like this:
RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^(www\.)?gotouchpro\.com$ [NC] RewriteRule ^(.*)$ https://gotouchpro.com/$1 [L,R=301] RewriteEngine on # Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon. # Some hostings require RewriteBase to be uncommented # Example: # Your store url is http://www.yourcompany.com/store/cart # So "RewriteBase" should be: # RewriteBase /store/cart # RewriteBase / Options -MultiViewsRewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} ^api/(.)$ [or]
RewriteCond %{REQUEST_URI} ./api/(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .api/(.)$ api.php?_d=$1&ajax_custom=1 [L,QSA]RewriteCond %{REQUEST_URI} .(png|gif|ico|swf|jpe?g|js|css|ttf|svg|eot|woff|yml|xml)$ [or]
RewriteCond %{REQUEST_URI} store_closed.html$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.?)/(.)$ $2 [L]RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]RewriteRule .* - [E=noabort:1]
RewriteRule .* - [E=noconntimeout:1]
I commented out # RewriteBase / following advice from someone that had a similar problem, but it did nothing.
The site is hosted on godaddy and was working fine prior to updating the SSL certificate.
The home page is working fine, it's only doing the loop redirect on pages that use the SEO addon.
Any ideas how to fix this?