Edit htaccess for 301 and 404 in Zen Cart

Edit …public_html/htaccess

RewriteEngine on

RewriteCond %{HTTP_HOST} ^www.your_domain.com$
RewriteRule ^/?$ "http\:\/\/your_domain\.com\/" [R=301,L]

ErrorDocument 404 http://www.your_domain.com/index.php?main_page=page_not_found

Save to same location

Leave a Reply

Your email address will not be published. Required fields are marked *

Design by FtroopDad Theme by itx