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
-
Max-snippet max length
Regarding Google's new max-snippet:[number], this is specifically for the length of the meta description? Also, does anyone know what the max character length is?
Technical SEO | | SoulSurfer81 -
Need URL structure suggestions
On my website I am in the process of creating expat city guides for different cities in Cambodia. I've already gotten three up, but I am worried that my URL structure is not the best, so I am wondering if I should fix it before I put the rest up. Right now the city guides are housed here: movetocambodia.com/expat-city-and-island-guides/ There's a section for each city, this one is for Battambang: movetocambodia.com/expat-city-and-island-guides/battambang And then there are sections for hotels, restaurants, etc. movetocambodia.com/expat-city-and-island-guides/battambang/battambang-hotels-and-accommodation So once you finally get to a review for an individual hotel or activity, the URL is really long, like this: movetocambodia.com/expat-city-and-island-guides/battambang/battambang-hotels-and-accommodation/classy-hotel Should I just par the section names down so the URL would be something like this: movetocambodia.com/expat-city-guides/battambang/accommodation/classy-hotel/ ? I was hoping by having the long URLs slugs for my section pages, such as "battambang-hotels-and-accommodation" they would be more likely to show on search terms like "Battambang hotels" than if the section was just "accommodation." However, this whole section is getting much less search traffic than anything else on my site, so I am wondering if it is because of these ridiculously long URLs. Any suggestions would be appreciated.
Technical SEO | | Lina5000 -
Mobile update: referrer in alternate URL
Hi there, A little while ago I posted a question about the upcoming mobile update. I am convinced about the fact that I must work on a solution before the update rolls out since a substancial part of our traffic has come from mobile devices. My current issue: our webshop host is not willing to cooperate with the best possible solution our mobile webshop partner proposes. This was the plan: This is the only possible solution now: The element 'request.url' will contain the full desktop URL which 301 redirects to the mobile URL. My question is: will google have problems with the 301 redirect which refers to the right mobile URL? Thanks in advance.
Technical SEO | | MarcelMoz
Marcel0 -
Add selective URLs to an XML Sitemap
Hi! Our website has a very large no of pages. I am looking to create an XML Sitemap that contains only the most important pages (category pages etc). However, on crawling the website in a tool like Xenu (the others have a 500 page limit), I am unable to control which pages get added to the XML Sitemap, and which ones get excluded. Essentially, I only want pages that are upto 4 clicks away from my homepage to show up in the XML Sitemap. How should I create an XML sitemap, and at the same time control which pages of my site I add to it (category pages), and which ones I remove (product pages etc). Thanks in advance! Apurv
Technical SEO | | AB_Newbie0 -
Ajax Crawling | Blocked URLs Spike
http://www.zando.co.za/women/shoes/ (for example) Hello, I'm concerned that WMT is reporting a large spike in blocked URLs - now reporting more blocked URLs than good URLs. Our product recommendations get generated via an Ajax call and these autogenerated, unique, URLs are rendered in the /recommendations/ folder which sits in the root of our site: http://www.zando.co.za/recommendations/ I can't see how I can prevent Google from calling the Ajax - I can only assume that's what's happening.This is what the code typically looks like:
Technical SEO | | RocketZando0 -
Page URL Change
We're planning on rolling out a redesign of an existing page, and at the same time, we're looking to possibly changing the URL of the page. Currently, the URL is www.blah.com/phraseword1-phraseword2-phraseword3-phraseword4 and we're ranking top 3 in Google SERP for that 4-word phrase. The keyword phrase is something we have in our Page Title, Site Copy and the URL. Now, we are planning on simplifying the URL to below.. www.blah.com/phraseword1-phraseword2 The plan is to 301 redirect the original URL to this new URL and actually work the exact phrase into the copy a few more times. My understanding is that URL doesn't get as much weight as it does in the past, but it's still important. So my question is... How important is the URL in this case where we will continue to have it in our page title and also we'll be working more copy on to the page with the appropriate keyword? Will 301 redirect from the old URL address the issue of passing SEO value for that keyword phrase? Thanks,
Technical SEO | | JoeLin
Joe0 -
Www or not www base url
Here is the situation. Developer custom coded a magento commerce shop for a seo client and is having problems adding www to the URL without breaking the site. They wont be able to get this completed until a couple months down the road. We are starting monthly SEO this June. Most directories and websites link to the www version of a site not the non www. What should I expect since we are ranking for the non-www and linking to the www version. In web master tools i'm telling google to display the URL as www.
Technical SEO | | waqid0 -
Ok to Put a Decimal in a URL?
I'm in the process of creating new product specific URLs for my company. Some of our products have decimals in them for their names as a unit of measurement. For example - .The URL for a 050" widget would be something like: http://www.example.com/product/category/.050-inch-widget My question is - Can I use a decimal in the URL without ticking off the search engines, and/or causing any other unexpected effects?
Technical SEO | | CodyWheeler0