Hi all,
I have just installed this add-on and have read all the instructions from top to bottom but it seems I am still having problems with the htaccess file, copy of my htaccess log shown below:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^nameyourgift.ie$ [NC]
RewriteRule ^(.*)$ http://www.nameyourgift.ie/$1 [R=301,L]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/MYADMINFOLDER [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule .* index.php?%{QUERY_STRING} [L]
<FilesMatch ".*\.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore */*
I have tried various combinations of the above code but without success. At the moment I have removed the last RewriteRule (i.e. index.php) as when its included I get "Unable to display page". My site is working fine, just can't get the Static URI working! btw the first redirect rule i.e. redirecting non www to www address is working fine. I appreciate any insight of what I could be doing wrong.
Thanks
Rebelman
Bookmarks