http -|- http://www. redirects

Hi All,

Using CS-Cart 1.3.4 Sp3 I was able to use the following code in my .htaccess file to rewrite visitors to the “”.

Since I’ve upgradeded to 1.3.5 Sp1 I’m unable to force the redirect.

Anyone else got the same problem and if so any work around?

Options All

Options +FollowSymlinks
rewritecond %{http_host} ^ [nc]
rewriterule ^(.*)$$1 [r=301,nc]

it is working for me

here is my whole .htacess

as you know i don’t use the www.


DirectoryIndex index.html index.php

RewriteEngine on

Some hostings require RewriteBase to be uncommented


Your store url is

So “RewriteBase” should be:

RewriteBase /store/cscart

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

Options +FollowSymLinks
RewriteCond %{HTTP_HOST} !^ttttt\.com$ [NC]
RewriteRule ^(.*)$$1 [R=301,L]

RewriteCond %{HTTP_HOST} !^tttttt\.com
RewriteCond %{SERVER_PORT} ^443$
RewriteRule (.*)$1 [R=301,L]