Page 1 of 1

.htaccess URL redirect format?

Posted: Thu Sep 02, 2010 5:00 am
by Karen
The searching I've done here gave me the format to redirect the main domain, but I'm not sure about the exact code for redirecting only 2 URLs?

Can someone give me the EXACT way it should be coded? Don't want to screw this up.

The contents of my .htaccess file right now is just the following:

Code: Select all

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

Re: .htaccess URL redirect format?

Posted: Sun Sep 05, 2010 12:46 am
by Miguelito
Hi Karen!

So what are you actually trying to achieve with this?

Isn't OpenCarts $this->redirect function useful in this case?