Post by yobrojas » Fri Aug 10, 2012 12:32 pm

Hi,

I want to redirect an SEO friendly url (a category) that has about 10+ products listed within that category to a new directory, can this be done with a .htaccess file.

E.g.
Currently I have: www.website.com/garden/(product) but i want to redirect it to www.website.com/garden-tools/(product).

Would I have to redirect the url of each product or is there a way to redirect just the directory?

Newbie

Posts

Joined
Mon May 28, 2012 3:05 pm

Post by MrTech » Fri Aug 10, 2012 1:14 pm

I don't claim to be an expert but I think you could do something like this:

Code: Select all

redirect 301 /garden/(product) http://www.website.com/garden-tools/(product)
If it works for you, please post back the results so others can share in the solution. Thanks!

~
Install Extensions OR OpenCart Fast Service! PayPal Accepted
I will professionally install and configure any free or purchased theme, module or extension.

Visit http://www.mrtech.ca if you need an OpenCart webmaster
~


User avatar
Active Member

Posts

Joined
Mon Jan 09, 2012 2:39 pm
Location - Canada, Eh!

Post by muddysmurf » Mon Oct 22, 2012 10:09 am

FYI: I tried this earlier, and it worked perfectly for me.

Newbie

Posts

Joined
Tue Jun 28, 2011 5:06 am
Who is online

Users browsing this forum: Baidu [Spider] and 15 guests