I have an online store with categories that have a tree structure (meaning they can be nested inside other categories) and products inside these categories.
What is the best way to structure the URLs of the product pages?
Some ideas I have thought are:
example.com/<root-category-name>/<child-category-name>/<product-name> example.com/<root-category-name>/<product-name> example.com/<child-category-name>/<product-name> example.com/p/<product-name>
Now a little info about each of these names.
- The names of the root categories are the most important keywords. These I want to target. Eg. "bath-furniture". I suppose I want to have much URLs with this segment since it contains the most important keyword.
- The names of the nested categories could be important but not in all the cases. In some cases they are some random-given names like "Aphrodite Series" which is not something a user would search for.
- The names of products could repeat the root categories keywords (which would be redundant) or could be random names (which is more correct imho). eg. "bath-furniture-nova-350XL" vs "nova-350XL".
I want the most correct and good for SEO design.