Page 1 of 1

SEO url for products like this: store.com/id_name

Posted: Thu Mar 17, 2011 6:25 pm
by proxisoft.net
How to "auto-set" the seo url for products like this:
mystore.com/id_product-name
i.e.: electronicstore.com/23_tv-plasma-samsung-MX100

instead of the default:
mystore.com/category-name/product-name
i.e.: electronicstore.com/tv-plasma/tv-plasma-samsung-MX100

The advantages of these solutions are:
1. shorter url;
2. no word repetitions in the url in case the product has some of the same words as the category it belongs to;
3. you can have products with the same name and have no conflicts between products if you have a different id before the product name.


Let's discuss!!

Re: SEO url for products like this: store.com/id_name

Posted: Wed Mar 23, 2011 6:33 am
by komarik
I am also interested in this solution.
Does anybody know how to do this.
I'm running 1.4.9.3

Thanks

Re: SEO url for products like this: store.com/id_name

Posted: Wed Mar 23, 2011 4:04 pm
by POS
Actually store.com/product-name-seo-keyword IS the default.

OpenCart uses a hidden info in top telling Google what the default link to the product is, and that is called meta canonical url.

However the store.com/my-cateory-2/product-name-seo-keyword helps your cart to know in what category the cart should "fake" it is.

That is a clever way of doing it. And Google likes it.

Re: SEO url for products like this: store.com/id_name

Posted: Wed Mar 30, 2011 10:05 pm
by proxisoft.net
You are right. Thank you, POS.