You are here:  » Redirect single products

Support Forum



Redirect single products

Submitted by rsachoc on Sat, 2010-05-22 10:11 in

HI there

I'm trying to redirect single product pages (which Google has indexed) to the actual product page (this has changed because I've used product mapping to create a single product).

I've tried the folllwing:

[code]
Redirect 301 /product/product-1.html /product/product-1-new-desc.html
[/code]

in .htaccess

However, it dosent seem to be working - I end up with a URL that appears to be a combination of the rewrites, something like product/product-1-new-desc.html?q=product-1&rewrite=1

Thanks in advance

Submitted by support on Sat, 2010-05-22 18:50

Hi,

Try this alternative, at the very top of your rule list, immediately after the RewriteBase line:

RewriteRule ^product/product-1.html$ product/product-1-new-desc.html [L,R=301]

Hope this helps!

Cheers,
David.

Submitted by rsachoc on Sat, 2010-05-22 20:42

David, thank you once again for your assitance, hopefully there'll be a day when I can figure these things out myself - I'm getting there!