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
-
Folders in url structure?
Hello, Revamping an out-of-date website and am wondering if I need to include the folders (categories) in the url structure? The proposed structure has 8 main folders. I've been reading that Google is ok if the folder is not included in the url, but is it really? The hesitation I have is that the urls are getting long and the main folder only has only a sub folder beneath it. So, /folder-name/facility-name/treatment-overview. This looks too long, doesn't it? Thanks!
Technical SEO | | lfrazer1230 -
Exclude URL Parameters?
Hello, I am new in SEO and I am trying to understand the basics in URL parameters. Let’s assume that I have an ecommerce site with Categories (Category1, Category2) Views (listview=1, listview=2) Orders (OrderBy=1, OrderBy=2) Pages (pg=1, pg=2) Why should I add google to index pages with different views and Listing orders? What is the benefit for the site to have the same content with different order? I am not sure but maybe only need pages in order to google to “travel” between the pages? For example: www.mydomain.com/books/pg=1 www.mydomain.com/books/?order=date www.mydomain.com/books/?listview =1 The products in pages (pg) will always include products in order and listview? Why should google index again the content? Furthermore, from the last time that google index the pg=1 the products has changed. Thank you in advanced
Technical SEO | | ArisGast0 -
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 -
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 -
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 -
Redirecting a Few URLS from One Domain to Another
Hello, I have two websites within a similar niche...some of the top organic traffic driving pages on Website B I'd like to redirect to a similar page on Website A. The reason is Website A is a bigger and better and is monetized much better as well. I only want to redirect a few of the main URLS on Website A and also only those that I have similar content on my main Website B. Is this process safe for SEO? What is the best way to go about this process. I am not really concerned with Website B and what happens to it's rankings, but in the meantime, I'd like to redirect the traffic from some of it's main organic traffic driving pages to my main website A and to it's similar pages. I am also concerned with making sure my main website A stays white hat and doesn't receive any negativity from these redirects. Thanks.
Technical SEO | | juicyresults0 -
Products with discrete URLs for each color
here is the issue. i have an ecommerce site that on a category page, shows each individual color for each product sold. and there is a distinct URL for each color. each product page shares the same content, with the only potentially differentiating factor being customer reviews (not nearly enough of these to differentiate anything). so we have URLs like: www.domain.com/product-green www.domain.com/product-yellow www.domain.com/product-red and so on. i am looking for a way to consolidate these URL while still showing all colors on the category page. the first solution i am considering is using the hash tag. so we would create www.domain.com/product#green, www.domain.com/product#yellow, www.domain.com/product#red. if possible, i would set the canonical tag as www.domain.com/product. the second solution would be to use the canonical tag and keep the URLs as is. the issue i see here is that we would need to create www.domain.com/product and show that page somewhere. www.domain.com/product would the URL that the above color URLs would canonicalize to. what would be the preferred solution? or is there something else?
Technical SEO | | rakesh_patel0 -
Lost FaceBook Shares with URL change
I recently changed the URL of a page and used a 301 redirect from old to new. I just realized I lost all my Facebook shares. Now it shows 0 on that page. What can I do to get back my count of shares? I cannot find any information.
Technical SEO | | MiamiWebCompany0