Post by Karen » Thu Sep 02, 2010 5:00 am

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]
Thanks!

User avatar
Active Member

Posts

Joined
Thu Jun 10, 2010 2:51 pm
Location - WA State, USA

Post by Miguelito » Sun Sep 05, 2010 12:46 am

Hi Karen!

So what are you actually trying to achieve with this?

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

The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."


Active Member

Posts

Joined
Sun Jan 10, 2010 10:11 pm
Who is online

Users browsing this forum: No registered users and 394 guests