DrByte: thanks for the reply but this is not working for my site, I changed it to look like
Code:
#### BOF SSU
ErrorDocument 404 http://www.police-equipment-worldwide.com/index.php?main_page=page_not_found
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 /
Options -Indexes
# Start the Apache RewriteEngine.
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^Morfeus
RewriteRule ^.*$ - [F]
# Add www.
RewriteCond %{HTTP_HOST} ^police-equipment-worldwide.com [NC]
RewriteRule .? http://www.police-equipment-worldwide.com%{REQUEST_URI} [R=301,L]
# CycleCop.com
RewriteCond %{HTTP_HOST} ^cyclecop\.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.cyclecop\.com [NC]
RewriteRule ^CycleCop(.*) - [L]
RewriteCond %{HTTP_HOST} ^cyclecop\.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.cyclecop\.com [NC]
RewriteRule ^(.*) CycleCop/$1 [L]
# TeksPolice.com
RewriteCond %{HTTP_HOST} ^tekspolice\.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.tekspolice\.com [NC]
RewriteRule ^TeksPolice - [L]
RewriteCond %{HTTP_HOST} ^tekspolice\.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.tekspolice\.com [NC]
RewriteRule ^(.*) TeksPolice/$1 [L]
# Police-Motorcycle-Equipment.com
RewriteCond %{HTTP_HOST} ^police-motorcycle-equipment\.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.police-motorcycle-equipment\.com [NC]
RewriteRule ^Police-Motorcycle-Equipment - [L]
RewriteCond %{HTTP_HOST} ^police-motorcycle-equipment\.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.police-motorcycle-equipment\.com [NC]
RewriteRule ^(.*) Police-Motorcycle-Equipment/$1 [L]
# Police-Motorcycle-Equipment.com
RewriteCond %{HTTP_HOST} ^police-motorcycle-equipment.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.police-motorcycle-equipment.com [NC]
RewriteRule !^(Police-Motorcycle-Equipment.com)$ Police-Motorcycle-Equipment.com/$1 [L]
# Remove charactors from url's
RewriteRule ^/?(.*)'(.*)$ $1$2 [R=301,N,L]
RewriteRule ^favicon.ico - [L]
RewriteRule ^robots.txt - [L]
#RewriteRule ^info.txt - [L]
RewriteRule ^misc/(.*) - [L]
RewriteRule ^CSS/(.*) - [L]
RewriteRule ^images/(.*) - [L]
RewriteRule ^zc_install/(.*) - [L]
RewriteRule ^Scripts/(.*) - [L]
RewriteRule ^extras/(.*) - [L]
RewriteRule ^PDF/(.*) - [L]
RewriteRule ^Public/(.*) - [L]
RewriteRule ^PV/(.*) - [L]
RewriteRule ^includes/(.*) - [L]
RewriteRule ^zen/(.*) - [L]
RewriteRule ^old/(.*) - [L]
RewriteRule ^info/(.*) - [L]
RewriteRule ^Store/(.*) - [L]
RewriteRule ^admin/(.*) - [L]
RewriteRule ^MODPDF/(.*) PDF/View.php [L]
RewriteRule ^(.*) index.php [L]
# Deny access from .htaccess
RewriteRule ^\.htaccess$ - [F]
I also tried putting the errordocument after rewrite rule turning on, neither worked. Any suggestions? Is there something in my .htaccess preventing this from working?