Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
URL best practices, use folders or not ?
-
Hi
I have a question about URLs. Client have all URL written after domain and have only one / slash in all URLs. Is this best practice or i need to use categories,folders?
Thanks
-
It's a trade-off, for both SEO and users, and I don't think there's one answer that fits every situation. The category level can add information, but it also makes URLs longer, which can be bad for both bots and people. If you have short, descriptive categories that aren't repeated in the product/page names, and those categories mimic your site structure, then I think it can be positive.
My argument was mostly against people adding categories just for SEO benefit (it's probably minimal, at best) or repeating every category, sub-category, etc. to the point of absurdity, causing keyword cannibalization and massive URLs. For example:
www.bobscamerashop.com/cameras/digital-cameras/canon-cameras/eos-cameras/camera-canon-eos-rebel-t3
Of course, that's also keyword stuffed, but I'm exaggerating to prove a point. You can go too far in either direction.
In general, though, I don't think categories in the URL are necessarily bad. In some cases, as Woj said, they could be a positive for users and possible even SEO.
-
Think about it from the user's point of view. What would work best for them? Maybe even get some feedback from some site users if possible
-
Will the site categories/products grow? If so, then the slash could be used to organise the structure & prepare for the future
In the example, you presented:
- www.example.com/accounts-titanium
- www.example.com**/**accounts/titanium
These are the same length & make no real difference
When we compare these 2, however:
You can see that #1 is shorter, doesn't repeat keyword (even though they are plural) & would be more likely clicked in the SERPs
Does that help some more?
-
http://www.seomoz.org/blog/should-i-change-my-urls-for-seo
In this article point 2 is saying that the unstructured is better
so i`m confused.
-
the site is small about 60 pages and max depth level is 3
-
I'd use folders or categories if the amount of products/items is large and/or going to expand
If it's a small amount & finite then make the URLs as short as possible
-
Information architecture is important from a usability and search engine prospective.
I'd say go for the categories divided by the /
www.example.com**/**accounts/titanium
www.example.com/accounts/open-demo-accountThis makes more sense and lends itself to scalability etc.
hope this helps.
there are some really good articles on information architecture on the seomoz and the web
-
URL is without any category or folder
www.example.com/accounts-titanium
www.example.com/open-demo-account
is this right or i need to use:
www.example.com**/**accounts/titanium
-
not quite sure what you mean exactly - can you expand with and example?
Thanks
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
-
Query for paginated URLs - Shopify
Hi there, /collections/living-room-furniture?page=2
On-Page Optimization | | williamhuynh
/collections/living-room-furniture?page=3
/collections/living-room-furniture?page=4 Is that ok to make all the above paginated URLs canonicalised with their main category /collections/living-room-furniture Also, does it needs to be noindex, follow as well? Please advice, thank you!1 -
URL Path. What is better for SEO
Hello Moz people, Is it better for SEO to have a URL path like this: flowersite.com/anniversary_flowers/dozen_roses OR flowersite.com/dozen_roses Is it better to have the full trail of pages in the URL?
On-Page Optimization | | CKerr0 -
Best way to nofollow affiliate links?
I don't "nofollow" affiliate links but I have quite a few. Doing them one by one would just be an impossible job. Would it be best to get a plugin that nofollows EVERYTHING? What would google prefer? I need to DOFOLLOW some links because those sites deserve it.
On-Page Optimization | | 2bloggers0 -
How to exclude URL filter searches in robots.txt
When I look through my MOZ reports I can see it's included 'pages' which it shouldn't have included i.e. adding filtering rules such as this one http://www.mydomain.com/brands?color=364&manufacturer=505 How can I exclude all of these filters in the robots.txt? I think it'll be: Disallow: /*?color=$ Is that the correct syntax with the $ sign in it? Thanks!
On-Page Optimization | | neenor0 -
What's the best practice for handling duplicate content of product descriptions with a drop-shipper?
We write our own product descriptions for merchandise we sell on our website. However, we also work with drop-shippers, and some of them simply take our content and post it on their site (same photos, exact ad copy, etc...). I'm concerned that we'll loose the value of our content because Google will consider it duplicated. We don't want the value of our content undermined... What's the best practice for avoiding any problems with Google? Thanks, Adam
On-Page Optimization | | Adam-Perlman0 -
Which is Best Practice for creating URLs for subdomain?
My website is related to education. We have created sub domains for all major colleges, universities & Entrance exams like Gre, Toefl ETC. for eg: amityuniversity.abc.com (Amity is Name of University ) Now if have to mention city name in URL as well (college is located in multiple locations) amityuniversity-delhi.abc.com
On-Page Optimization | | rohanarora536
amityuniversitydelhi.abc.com Now my Q is can we use hyphens in sub domains if we have to add city name or shall we create without using any hyphens. In Directory structure we can always separate words with hyphens, can we follow same practice in subdomain as well Which is a best URL for subdomain amity-university-delhi.abc.com
amityuniversity-delhi.abc.com
or amityuniversitydelhi.abc.com0 -
URL for location pages
Hello all We would like to create clean, easy URLs for our large list of Location pages. If there are a few URLs for each of the pages, am I right when I'm saying we would like this to be the canonical? Right now we would like the URL to be: For example
On-Page Optimization | | Ferguson
Domain.com/locations/Columbus I have found some instances where there might be 2,3 or more locations in the same city,zip. My conclusion for these would be: adding their Branch id's on to the URL
Domain.com/locations/Columbus/0304 Is this an okay approach? We are unsure if the URL should have city,State,zip for SEO purposes?
The pages will have all of this info in it's content
BUT what would be best for SEO and ranking for a given location? Thank you for any info!0 -
Avoiding "Duplicate Page Title" and "Duplicate Page Content" - Best Practices?
We have a website with a searchable database of recipes. You can search the database using an online form with dropdown options for: Course (starter, main, salad, etc)
On-Page Optimization | | smaavie
Cooking Method (fry, bake, boil, steam, etc)
Preparation Time (Under 30 min, 30min to 1 hour, Over 1 hour) Here are some examples of how URLs may look when searching for a recipe: find-a-recipe.php?course=starter
find-a-recipe.php?course=main&preperation-time=30min+to+1+hour
find-a-recipe.php?cooking-method=fry&preperation-time=over+1+hour There is also pagination of search results, so the URL could also have the variable "start", e.g. find-a-recipe.php?course=salad&start=30 There can be any combination of these variables, meaning there are hundreds of possible search results URL variations. This all works well on the site, however it gives multiple "Duplicate Page Title" and "Duplicate Page Content" errors when crawled by SEOmoz. I've seached online and found several possible solutions for this, such as: Setting canonical tag Adding these URL variables to Google Webmasters to tell Google to ignore them Change the Title tag in the head dynamically based on what URL variables are present However I am not sure which of these would be best. As far as I can tell the canonical tag should be used when you have the same page available at two seperate URLs, but this isn't the case here as the search results are always different. Adding these URL variables to Google webmasters won't fix the problem in other search engines, and will presumably continue to get these errors in our SEOmoz crawl reports. Changing the title tag each time can lead to very long title tags, and it doesn't address the problem of duplicate page content. I had hoped there would be a standard solution for problems like this, as I imagine others will have come across this before, but I cannot find the ideal solution. Any help would be much appreciated. Kind Regards5