Post by jezfez » Thu Jul 19, 2012 11:31 pm

can anybody spot the error in this htaccess file?

i am trying to redirect eg. ... ccessories

to ... ccessories

but instead it goes to ... ccessories

(remove index.php?_route_= from destination url)


Code: Select all

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

Options +FollowSymLinks
RewriteCond %{HTTP_HOST} !^www\.cardinalzing\$ 
RewriteRule (.*)$1 [R=301,L]

New member


Wed Sep 07, 2011 2:24 pm
Who is online

Users browsing this forum: No registered users and 49 guests