URL Length
-
What is the ideal length for an item's URL. Theirs a few different options.
B) www.mydomain.com/category-name/product-name
C) www.mydomain.com/category-name/sub-category-name/product-name
Please choose A, B, or C and explain why you made that decision.
Looking forward to the responses.
-
The minimize url length is always better. Keep it minimized, IE allowed maximum of 2000 characters which is too long. Less then 100 is good and less is even better.
B option is good, going into sub-categories make it lengthy.
-
folder structure is hidden to users and search engines. so i guess link structure is informative on how a website is organized into folders. your suggestion on different options makes sense. Large websites towards option C and smaller ones towards option A
-
glad to share what I've found. I'm blessed in that I get to experiment with methods on several sites that get millions or tens of millions of visits each month
-
Thank you, Alan. I appreciate hearing your thoughts on that.
-
Yes from that perspective, you're correct. Links outweigh folder relationships as signals because links are the "almighty final say".
Of course, if you've got them all in the same folder, then you should also have a sub-nav unique to that folder where each of those pages has the links to each of the other pages.
Then throw in microformat encoded breadcrumbs and that combination is the most potent.
-
If I have separate pages on my site for red widgets, blue widgets and green widgets..... they might not be in the same folder but they might link to one another because I have all widgets pages linking to all other widgets pages.
Would that topical association through links be more powerful than if they were in the same folder but not necessarily linking to one another.
I have always held the belief that link structure is more important than folder structure.
-
Link structure vs. folder structure? Not sure I understand - links point to content. Content is located in folders (or just the root folder). can you clarify?
-
Alan, do you think link structure is more important than folder structure in communicating topical relationships?
-
Let me add the reason for the answers you got.
A) Distinct organization of content is critical to communicating topical relationships and topical separation to search engines
B) URLs of this type provide 1 of the many ways Users can understand clear relationships of content
C) if you go too far down the rabbit hole, it becomes too diluted for search engine value
D) if you go too far down, it crosses the line into confusion for users
-
C. If you have categories and sub-categories, than there is value to organizing your site to reflect that. If you are creating sub-categories for the sake of sub-categories, then I would go with B.
It really depends on the nature of what your site is about. For example, /shoes/running-shoes/specific-shoe-type/ makes sense. However, /shoes/running-shoes/red-running-shoes/red-running-shoes-velcro/red-running-shoes-velcro-hi-top/specific-shoe/ is probably too long.
-
**A) www.mydomain.com/item-name **
If you have a very small website then by all means use this method.
**B) www.mydomain.com/category-name/product-name **
... but once your website grows you will wish that you had done this.
C) www.mydomain.com/category-name/sub-category-name/product-name
... and if you have a reeeeeeally big site then you might need this - but only if your categories run wildly big (ever try to open a DreamWeaver folder with 15,000 items?
I think that where people run into problems is when they try to do this....
www.mydomain/big-green-widgets-with-bells/green-brass-widgets-size-seven/the-ones-with-waffle-treads-and-extra-long-laces-in-yellow
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Trailing slash URLs and canonical links
Hi, I've seen a fair amount of topics speaking about the difference between domain names ending with or without trailing slashes, the impact on crawlers and how it behaves with canonical links.
Technical SEO | | GhillC
However, it sticks to domain names only.
What about subfolders and pages then? How does it behaves with those? Say I've a site structured like this:
https://www.domain.com
https://www.domain.com/page1 And for each of my pages, I've an automatic canonical link ending with a slash.
Eg. rel="canonical" href="https://www.domain.com/page1/" /> for the above page. SEM Rush flags this as a canonical error. But is it exactly?
Are all my canonical links wrong because of that slash? And as subsidiary question, both domain.com/page1 and domain.com/page1/ are accessible. Is it this a mistake or it doesn't make any difference (I've read that those are considered different pages)? Thanks!
G0 -
Urls Too Long - Should I shorten?
On the crawl of our website we have had a warning that 157 have urls that are too long. When I look at the urls they are generally from 2016 or earlier. Should I just leave them as they are or shorten the urls and redirect to new url? Thanks
Technical SEO | | DaleZon4 -
Google is not indexing my new URL structure. Why not?
Hi all, We launched a new website for a customer on April 29th. That same day we resubmitted the new sitemap & asked Google to fetch the new website. Screenshot is attached of this (GWT Indexed). However, when I look at Google Index (see attachment - Google Index), Automated Production's old website URL's still appear. It's been two weeks. Is it normal for Google's index to take this long to update? Thanks for your help. Cole VoLPjhy vfxVUsO
Technical SEO | | ColeLusby0 -
Duplicate blog URLs in Magenton
On one my sites Moz is picking up 4483 duplicate content pages. The majority of these are from our blog and video sections on our site. We're using a URL shortener and it appears that some of the pages are the full version of the URL then the shortened version. However if you go to the full version you get redirected to the shorter one. So I would assume that the Moz crawler should get the same redirect? We're also getting pagination being shown as duplicate pages, which I would half expect, but the URLs Magento is creating are truly bizarre: e.g http://www.xxx.com/uk/blog/cat/view/identifier/news/page/news/index.php/alarms-doorbells/?p=2 Alarms and doorbells is one of our product categories, which is displayed in the LHN on the blog page but has nothing to do with the blog itself. On another site on the same Magento instance, with the same content (they're for two different regions) we're show as having 248 duplicate pages, again in the video and news section, but this is a completely different scale of issue. Has anyone else encountered issues like these? I'm probably going to put a noindex in place on these two sections until we can get a solution in place as we're completely unranked in google on this site. Thanks
Technical SEO | | ahyde0 -
Friendly URLs for MultiLingual Site
Hi, We have a multilingual website with both latin and non-latin characters, We are working on creating a friendly URL structure for the site. For the Latin languages can we use translated version of the URLs within the language folders? For example - www.site/cars www.site/fr/voitures www.site/es/autos
Technical SEO | | theLotter0 -
URL redirect question
Hi all, Just wondering whether anybody has experience of CMSs that do a double redirect and what affect that has on rankings. here's the example /page.htm is 301 redirected to /page.html which is 301 redirected to /page As Google has stated that 301 redirects pass on benefits to the new page, would a double redirect do the same? Looking forward to hearing your views.
Technical SEO | | A_Q0 -
# in url affecting rank
Hi I am building links to a page www.companyname.com/category.index.php There is also another similar url www.companyname.com/category.index.php#. This page is linked to from the non # page. This is a new client and I'm not entirely sure why that link is there. Am I correct in thinking that these two urls are different in the eyes of the search engines? If so, would some of the link juice to www.companyname.com/category.index.php be transferred to www.companyname.com/category.index.php# and affect the ranking of the non # page? I hope this makes sense! Thanks
Technical SEO | | sicseo0