Say I'm building a e-commerce website. I have a lot of products in different categories. For example one of them is:
Flat to Round Power Plug Convertor
So I have two ways to link to this product, directly to it:
http://www.somedomain.com/p/flat-to-round-power-plug-convertor-1005874
or add the categories recursively before it:
http://www.somedomain.com/electrical-tools/plugs-sockets/flat-to-round-power-plug-convertor-1005874
According to google's SEO guild it seems it's recommending to put content in their own folders so that both users and robots can understand them easier. Besides if user simply remove the last part of URL flat-to-round-power-plug-convertor-1005874
, they can easily get to the category.
The simply question is, when the product is in a 3rd or 4th level directory, the URL gets pretty long. I don't know if this long URL harms SEO or not. Or should I use the first form?
EDIT: The thing that confuses me is the URL should be "descriptive", and it should be "short". Consider the following example:
http://www.somedomain.com/apparel/women-shoes/lovely-pink-shoes http://www.somedomain.com/apparel/children-shoes/lovely-pink-shoes
It would definitely help people find what they want. And when you got tens of thousands of products, this situation would happen a lot. Besides, Google definitely encourages to categorize content in their own folders as referenced above. The problem is, the more descriptive the URL is, the longer it is. How should I make choice between "descriptive" and "short"?
/direct-product-url
, not with categories. To test if a url is good, try to explain it out loud to someone. The easier the better