Below is the rewrite rule I create and place in the root of happyworkshopus.com
Not sure if anything wrong with it...
RewriteEngine On
RewriteCond %{HTTP_HOST} ^happyworkshopus.com$ [NC]
RewriteRule ^(.*)$ http://www.happyworkshopus.com/$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} !^/adminfoldername [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]
Bookmarks