Post by proxisoft.net » Thu Mar 17, 2011 6:25 pm

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!!
Last edited by proxisoft.net on Wed Mar 30, 2011 10:09 pm, edited 2 times in total.

Newbie

Posts

Joined
Sun Mar 13, 2011 12:40 am

Post by komarik » Wed Mar 23, 2011 6:33 am

I am also interested in this solution.
Does anybody know how to do this.
I'm running 1.4.9.3

Thanks

Newbie

Posts

Joined
Tue Feb 01, 2011 1:31 am

Post by POS » Wed Mar 23, 2011 4:04 pm

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.

POS
Newbie

Posts

Joined
Tue Mar 22, 2011 11:34 pm

Post by proxisoft.net » Wed Mar 30, 2011 10:05 pm

You are right. Thank you, POS.

Newbie

Posts

Joined
Sun Mar 13, 2011 12:40 am
Who is online

Users browsing this forum: No registered users and 104 guests