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 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
Is it better to have the full trail of pages in the URL?
-
There is no golden rule but generally yes, the page higher in a structure would be considered slightly more important, especially if your sitemap indicates page importance automatically, but a proper structure has far more benefits.
As long as you don' overcomplicate your structure it wouldn't make much difference whether your roses are at:
or
domain.com/anniversary-flowers/roses
as for no 4 - could it be that roses would fit many of the categories and therefore have been taken out of the structure to avoid duplicate content issues?
I often see pages deeper in the category tree ranking just as high if not higher than top categories for their respective keywords. At the end of the day Pete, it's the content that will rank your page not the url.
Using common sense, do you think Google would promote a model of websites where all pages and categories are always in the root? Would you use a library where all books are stuffed into 1 section? I don't think so.
-
Hi All,
I am no expert but we have just done redone our url structure and these are points we had to weigh up.
- I thought the closer to the root domain the more important the page ?
- However, it's always not feasible to have every page only one level from root so what we did , is have the url structure follow the bread crumb structure of our site and I believe this works well
- That makes it consistent and easy for the user/crawlers to understand
- Saying that though, if roses are one of your best sellers all year round , then it may warrant to have that url as closer to root as possible still have others using a category structure. I have seen that done on some large sites that sell alot of a particular item
Pete
-
This is very often overlooked but in my opinion the right URL structure is critical for any site, because the on site optimisation and content creation for landing pages will be very much determined by the structure of your URL's. Logical structure also helps users understanding and navigating the site.
I always suggest a "library" approach, so creating a logical structure similar to a library where a book (or a product/service/article etc.) falls under one parent category, which falls under a higher parent category, similar to:
science-books/physics/newton-inventions
entertainment-books/childrens-books/harry-potter
I your case the first example of URL path makes more sense, but the question is - are dozen roses only anniversary flowers? Spend a few hours organising your products into categories that make logical sense and create a URL structure to reflect that but keeping in mind the keywords people are searching for to find your products. It's not easy so don't rush it.
Ah and use hyphes (-) rather than underscores (_) in your urls...
-
Hi Garrettkite,
There are 2 things that I would answer:
- Firstly, don't use underscore (_) in the url. Instead, use hyphens (-). E.g. domain1.com/inner-page.aspx
- Secondly, whether to have a longer url or shorter version is totally your call. It is better to have a flat structure as much as possible. Never go for very long urls e.g. domain1.com/directory1/directory2/this-is-the-inner-page.aspx. On the other hand, focus on the structure of the website from user's point of view. Is it intuitive? Can a user reach to the inner page easily? But in some cases you may have to use longer urls which is again conditional.
Till date I have successfully worked on more than 100 sites by following the above standards.
Regards
-
I have read a lot about how it is important to keep URLs as short as possible, but I have also seen first-hand how longer, descriptive URLs have performed really well.
You'll probably get different answers from different people, and I don't know that either is right or wrong. In my opinion the longer URL would be more beneficial, assuming that trail of URLs isn't going to continue on and get too long - /anniversary_flowers/dozen_roses/red/bouquet - you get the idea.
My reasoning behind going with the longer URL structure is because you get the benefit of having both potential keyword search terms, anniversary flowers & dozen roses, in the page URL. Hope that helps!
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
-
Are Wildcard Subdomain Hurting my SEO?
I have some sites with a lot of categories (category, sub-category, sub-subcategory) and locations (country, state/territory, city). To avoid listing pages really deep in my hierarchy I used wildcard subdomains for the locations, but lately I have been told that might be hurting my overall SEO efforts. I have a lot of URLs like https://city-state-country.example.com on one side of the domain and example.com/category/subcategory/subsubcategory on the other. In the middle you see stuff like city-state-country.example.com/category/subcategory/subsubcategory and everything in between. Would I be better off moving the locations to the right side of the domain name? Then you might find stuff like example.com/country/state/city/category/subcategory/subsubcategory and everything in between. I think I could do the new rewrite rules fairly easily since every country slug is just two characters long.
On-Page Optimization | | PostAlmostAnything0 -
Does homepage SEO exist at all?
hi Just read a Yoast article explaining that the homepage should never be optimized for a specific keyword and should only be optimized for its business or brand name. i have a large site that I'd like to rank (or increase traffic for as I know people get irritated with that term now) for 'Campervan hire'. It has plenty of sub pages going after 'Campervan hire 'location'' for example. it makes sense to me for the homepage keyword - my core keyword - to be 'Campervan hire' and for the homepage to be optimised for this. However, the article I've just read (https://yoast.com/homepage-seo/) suggests a separate page for this keyword. What are your thoughts pls?? thanks
On-Page Optimization | | CamperConnect142 -
Harms of hidden categories on SEO
On our website we have some invisible/hidden categories on our site. Can anyone advise whether these are harmful in terms of SEO?
On-Page Optimization | | CostumeD0 -
Less Tags better for SEO?
I am currently reviewing my strategy when it comes to categories and tags on my site. Having been no-indexed for some time, and having many tags with just one entry I am thinking that this is not optimal for SEO purposes. This is what I am planning: Categories - Change these to Index, but only after adding a hundred words or so by way of introduction (see this example - https://www.besthostnews.com/news/hosting/a-small-orange-news/). With the categories I am thinking of highlighting key articles as well to improve link juice distribution to older articles that are important. Tags - About half my tags have only 1 entry, with a few more just having 2 entries. I am thinking of deleting all tags with just one entry, and trying to merge those with just two or 3 entries where it makes sense to do so. I will keep these as no-index, but I think this will mean more optimal distribution of link juice within the site. I would appreciate your thoughts \ suggestions on the best practices here.
On-Page Optimization | | TheWebMastercom0 -
Two URL's for the same page
Hi, on our site we have two separate URL's for a page that has the same content. So, for example - 'www.domain.co.uk/stuff' and 'www.domain.co.uk/things/stuff' both have the same content on the page. We currently rank high in search for 'www.domain.co.uk/things/stuff' for our targeted keyword, but there are numerous links on the site to www.domain.co.uk/stuff and also potentially inbound links to this page. Ideally we want just the www.domain.co.uk/things/stuff URL to be present on the site, what would be the best course of action to take? Would a simple Canonical tag from the '/stuff' URL which points to the '/things/stuff' page be wise? If we were to scrap the '/stuff' URL totally and redirect it to the 'things/stuff' URL and change all our on site links, would this be beneficial and not harm our current ranking for '/things/stuff'? We only want 1 URL for this page for numerous reasons (i.e, easier to track in Analytics), but I'm a bit cautious that changing the page that doesn't rank may have an affect on the page that does rank! Thanks.
On-Page Optimization | | Jaybeamer2 -
Url structure with dash or slash
Hi There We have a content website. We don't rank well category image related searches but we get quite good traffic for those keywords. Those keywords are mostly like "category images". We want to change our url structure and we have 2 options now. 1- domain.com/category/category-images 2-domain.com/category/images option 1 repeats the category name so it looks spammy option 2 doesn't really have the keyword. any ideas which one tho choose? Thanks! ps: we don't want to use domain.com/category-images (too many root link)
On-Page Optimization | | muminaydin0 -
SEO for Online Auto Parts Store
I'm currently doing an audit for an online auto parts store and am having a hard time wrapping my head around their duplicate content issue. The current set up is this: The catalogue starts with the user selecting their year of vehicle They then choose their brand (so each of the year pages have listed every single brand of car, creating duplicate content) They then choose their model of car and then the engine And then this takes them to a page listing every type/category of product they sell (so each and every model type/engine size has the exact same content!) This is amounting to literally thousands of pages being seen as duplicates It's a giant mess. Is using rel=canonical the best thing to do? I'm having a hard time seeing a logical way of structuring the site to avoid this issue. Anyone have any ideas?
On-Page Optimization | | ATMOSMarketing560 -
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