Prior to installing the mod, our .htaccess was made up of the following:
Code:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^kids-n-cribs.com [nc]
rewriterule ^(.*)$ http://www.kids-n-cribs.com/$1 [r=301,nc]
With the mod, the 301 redirect seems to be no longer working. Is it still possible to have the 301 redirect and the SEO mod installed?
This is the new version, working for SEO, but 301 redirect is not working.
Code:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^kids-n-cribs.com [nc]
rewriterule ^(.*)$ http://www.kids-n-cribs.com/$1 [r=301,nc]
#### BOF SSU
Options +FollowSymLinks -MultiViews
RewriteEngine On
# Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
RewriteBase /
# Deny access from .htaccess
RewriteRule ^\.htaccess$ - [F]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU
Any help would be awesome!
Thanks
Bookmarks