What’s the best way to structure URL’s for SEO points? A number of people say that pages should be close to the root of the domain. So we could have: xyz.com/product-one-keywords.html xyz.com/product-two-keywords.html and others say that a logical URL directory structure should be used, such as: xzy.com/category/subcategory/product-one-keyword.html xyz.com/other-category/subcategory/product-two-keyword.html Which I prefer seo point of views. Thanks in Advance.
I usually prefer pages closed to root; but actually it depends on the structure of the website and its demands.
I always try to keep the urls as short as it goes. I would go for something like this: http://domain.com/product/keyword (page) and then I would build a blog as well that would be: http://domain.com/'general product niche'-reviews/keyword-review (blog style to point on the static pages above)
The problem with domain.com/category/title or domain.com/category/subcategory/title is that you could end up with the same words repeated a few times in the URL. It really depends on what type of site it is, though. For news sites, I use domain.com/yyyy/mm/title but for blogs/information sites, I use domain.com/title. For both, the categories are domain.com/category/category-name/ so it's easy to tell what's a category and what's a page/article. I also prefer shorter URLs. There's a good blog post on URLs from SEOmoz: http://www.seomoz.org/blog/11-best-practices-for-urls