Totally Zenned
- Join Date:
- Feb 2008
- Posts:
- 1,386
- Plugin Contributions:
- 0
Simple SEO URL (OLD version) [support thread]
Hello Yellow
On one of my site I am trying to apply the redirect from mydomain.com to https://www.mydomain.com using this code:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
This is the current .htaccess I have from your download ```php
<PRE>#### BOF SSU Options +FollowSymLinks -MultiViews RewriteEngine On # Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase / RewriteBase /</PRE> <PRE># Deny access from .htaccess RewriteRule ^\.htaccess$ - [F]</PRE> <PRE>RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L] #### EOF SSU</PRE>
How do I do that using your mod. If I do paste the code to redirect in the current htaccess I get a 500 error