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
-
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 -
URL not indexed but shows in results?
We are working on a site that has a whole section that is not indexed (well a few pages are). There is also a problem where there are 2 directories that are the same content and it is the incorrect directory with the indexed URLs. The problem is if I do a search in Google to find a URL - typically location + term then I get the URL (from the wrong directory) up there in the top 5. However, do a site: for that URL and it is not indexed! What could be going on here? There is nothing in robots or the source, and GWT fetch works fine.
Technical SEO | | MickEdwards0 -
Removed URLs
Hi all, We have recently removed 200+ articles from our blog. However, those links are still being shown on Google weeks after their removal. In there a way to speed up the process? What effect will this have on our SEO ranking?
Technical SEO | | businessowner0 -
Structure of urls
**Hallo from Athens, Greece. We have to implement the following project and i need your help: ** We will build a company guide for the whole country and company local guides for each city for the same client. **Information of the country guide is the sum of information of local guides, so when a user is at the country guide he sees information from companies from all cities and when the user is at city guide he sees info only for the city. ** The problem is the structure of the url we should have. Should the page of presentation of each company should have structure as domain.gr/id/company? or city.domain.gr/id/company and the one to be canonical to the other? is this good for seo? Should both urls be included in the sitemap? Thank you
Technical SEO | | herculesopa0 -
/out/ URLs in GWMTs
I am recently seeing some URLs come up as 404s in GWMTs for a client. They look like this: http://client-url/out/www.linkedin.com/company/client-linkedin-name /out/client-url/sub-directory/postname/ We thought they might have something to do with the social plugins but they are all over the place and they are sometime for internal pages on the site. Anyone run into these and know why they are happening?
Technical SEO | | DragonSearch0 -
Value of key word based URL
I was researching some keywords and I found something that kind of confuses me. If you search google for Denver IT Consulting the second hit is for a site** - **denveritconsulting.com. This is a one page site with just a paragraph of text and links to the actual company's site but it's getting the second place on a pretty good keyword. I also checked open site explorer and they have no links at all. I am assuming that their placement is based solely on the exact match of the keywords in the URL? Does anyone have any feedback on this? I have purchased and used keyword based URLs in the past but I have never done or seen something like this that is so successful. Any input on this would be great. Thanks!
Technical SEO | | ZiaTG0 -
Should we introduce subfolders into the URLs on a new site?
A site we are working on currently gives no indication of the subfolders in the URL. Eg. the site uses: www.examplesite.com/brand-name Rather than: www.examplesite.com/popular-products/brand-name There are breadcrumbs on site to show the user what part of the site they are in and how they navigated there. We are building a new site and have to decide what route to take: Since the site is already performing relatively well in the SERPs and the URLs are nice and short this way, is it a good idea to keep them like this or is it better for usability to include the subfolders? This post suggests that we would be best off to keep the URLs as they are - particularly since less would be changed http://www.seomoz.org/blog/should-i-change-my-urls-for-seo Thanks in advance for your opinions! Liz @lizstraws
Technical SEO | | oneresult0 -
Blank Canonical URL
So my devs have the canonical URL loaded up on pages automatically, and in most cases this gets done correctly. However we ran across a bug that left some of these blank like so: Does anyone know what effect that would have? I am trying to provide a priority for this so I can say "FIX IT NOW" or "Fix it after the other 'FIX IT NOW' type of items". Let me know if you have any ideas. I just want to be sure I am not telling google that all of these pages are like the home page. Thanks!
Technical SEO | | SL_SEM0