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
-
Dynamic Url best approach
Hi We are currently in the process of making changes to our travel site where by if someone does a search this information can be stored and also if the user needs to can take the URL and paste into their browser at find that search again. The url will be dynamic for every search, so in order to stop duplicate content I wanted ask what would be the best approach to create the URLS. ** An example of the URL is: ** package-search/holidays/hotelFilters/?depart=LGW&arrival=BJV&sdate=20150812&edate=20150819&adult=2&child=0&infant=0&fsearch=first&directf=false&nights=7&tsdate=&rooms=1&r1a=2&r1c=0&r1i=0&&dest=3&desid=1&rating=&htype=all&btype=all&filter=no&page=1 I wanted to know if people have previous experience in something like this and what would be the best option for SEO. Will we need to create the URL with a # ( As i read this stops google crawling after the #) Block the folder IN ROBOTS is there any other areas I should be aware of in order stop any duplicate content and 404 pages once the URL/HOLIDAY SEARCH is no longer valid. thanks E
Technical SEO | | Direct_Ram0 -
Why put rel=canonical to the same url ?
Hi all. I've heard that it's good to put the link rel canonical in your header even when there is no other important or prefered version of that url. If you take a look at moz.com and see the code, you'll see that they put the <link rel="<a class="attribute-value">canonical</a>" href="http://moz.com" /> ... pointing at the same url ! But if you go to http://moz.com/products/pricing for example, they have no canonical there ! WHY ? Thanks in advance !
Technical SEO | | Tintanus0 -
The importance of url's - are they that important?
Hi Guys I'm reading some very contrasting and confusing reviews regarding urls and the impact they have on a sites ability to rank. My client has a number of flooring products, 71 to be exact - categorised under three sub categories 1. Gallery Wood - 2. Prefinshed Wood - 3. Parquet & Reclaimed. All of the 71 products are branded products (names that are completely unrelated to specific keyword search terms. This is having a major impact regarding how we optimise the site. FOR EXAMPLE: A product of the floor called "White Grain" - the "Key Word" we would like to rank this page for is Brown Engineered Flooring. I'm interested to know, should the name of the branded product match the url? What would you change to help this page rank better for the keyword - Brown Engineered Flooring. Title page: White Grain Url: thecompanyname.com/gallery-wood/white-grain (white grain is the name of the product) Key Word: Brown Engineered Flooring **Seo Title: **White Grain, Brown Engineered Flooring by X Meta Description: BLAH BLAH Brown Engineered Flooring BLAH BLAH Any feedback to help get my head around this would be really appreciated. Thank you.
Technical SEO | | GaryVictory0 -
Keyword in URL vs organization
I have a jobs site that currently has the following structure for jobs: www.site.com/jobs/openings/1234.html Categories used to be listed this way: www.site.com/jobs/openings/accounting But we changed it to: www.site.com/jobs/category/accounting Does it matter? Is one better than the other? The page title, heading, and description also have the word "openings" or "opening" in them.
Technical SEO | | cmp1010 -
Canonical URL
I previously set the canonical Url in google web masters to the non www version, when I check my on page opt, it tells me that I have a critical issue with this. Should I change it in google web masters back to the www version? if so is there the possibility of negative results? Or is there a better way to deal with this? Note, I have inbound links pointing to both types.
Technical SEO | | bronxpad0 -
URL query considered duplicate content?
I have a Magento site. In order to reduce duplicate content for products of the same style but with different colours I have combined them on to 1 product page. I would like to allow the pictures to be dynamic, i.e. allow a user to search for a colour and all the products that offer that colour appear in the results, but I dont want the default product image shown but the product image for that colour applying to the query. Therefore to do this I have to append a query string to the end of the URL to produce this result: www.website.com/category/product-name.html?=red My question is, will the query variations then be picked up as duplicate content: www.website.com/category/product-name.html www.website.com/category/product-name.html?=red www.website.com/category/product-name.html?=yellow Google suggest it has contingencies in its algorithm and I will not be penalised: http://googlewebmastercentral.blogspot.co.uk/2007/09/google-duplicate-content-caused-by-url.html But other sources suggest this is not accurate. Note the article was written in 2007.
Technical SEO | | BlazeSunglass0 -
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 -
Variables in URLS?
How much do variables in URLs hurt indexing of that page? I'm worried that with this huge string of variables that the pages won't get indexed. Here's what I think we should have: http://adomainname.com/New/Local/State/City/Make/Model/ Here's the current URL:http://adomainname.com/New/Local/MN/Bayport/Jeep/Liberty?curPage=1&pageResultSize=50&orderDir=DESC&orderBy=ModifiedDate&conditionId=1&makeId=7&modelId=141&stateProvinceName=Minnesota&mc=1
Technical SEO | | CFSSEO0