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 “www.domain.com”.
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} ^southeastauto.com.au [nc]
rewriterule ^(.*)$ http://www.southeastauto.com.au/$1 [r=301,nc]
truem
2
it is working for me
here is my whole .htacess
as you know i don’t use the www.
```php
DirectoryIndex index.html index.php
RewriteEngine on
Some hostings require RewriteBase to be uncommented
Example:
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 ^(.*)$ http://ttttt.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} !^tttttt\.com
RewriteCond %{SERVER_PORT} ^443$
RewriteRule (.*) https://ttttt.com/$1 [R=301,L]
```