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 -
OnPage SEO
I am about to start my website http://i-love-skiing.com/. I would like to know what OnPage ranking factors should I consider while launching or building my website. I want to rank higher on search results.
On-Page Optimization | | TheresaWoods0 -
URL keyword separator best practice
Hello. Wanted to reach out see what the consensus is re-keyword separators So just taken on a new client and all their urls are structured like /buybbqpacks rather than buy-bbq-packs - my understanding is that it comes down to readability, which influences click through, rather than search impact on the keyword. So we usually advise on a hyphen, but the guy's going to have to change ALLOT of pages & setup redirects to change it all wasn't sure if it was worth it? Thanks! Stu
On-Page Optimization | | bloomletsgrow0 -
ECommerce Filtering Affect on SEO
I'm building an eCommerce website which has an advanced filter on the left hand side of the category pages. It allows users to tick boxes for colours, sizes, materials, and so on. When they've made their choices they submit (this will likely be an AJAX thing in a future release, but isn't at time of writing). The new filtered page has a new URL, which is made up of the IDs of the filter's they've ticked - it's a bit like /department/2/17-7-4/10/ My concern is that the filtered pages are, on the most part, going to be the same as the parent. Which may lead to duplicate content. My other concern is that these two URLs would lead to the exact same page (although the system would never generate the 'wrong' URL) /department/2/17-7-4/10/ /department/2/**10/**17-7-4/ But I can't think of a way of canonicalising that automatically. Tricky. So the meat of the question is this: should I worry about this causing issues with the SEO - or can I have trust in Google to work it out?
On-Page Optimization | | AndieF0 -
Do Parent Categories Hurt SEO?
I have parent categories and subcategories. Will it be harder for the subcategories to rank well because they have a parent category? The URL is longer, for one. I am just wondering if I should not have parent categories. I have one category page doing really well and I am trying to boost the others (most of which are subcategories) and this is a concern for me. Thanks! Edit: I also have a category that has 2 parent categories. I want it automatically in those 2 categories and one of its own. By itself it is very important keyword. Is this ok or should I have it be a parent category?
On-Page Optimization | | 2bloggers0 -
Does the link title attribute benefit seo?
Hello, Anyone could tell me the benefit SEO of link title attribute. Is **Link Title **ranking factor? Thanks
On-Page Optimization | | JohnHuynh0 -
Does css float affect SEO?
It is generally believed that the closer the content is to the top of the page, the better it is for SEO. If that's incorrect, please let me know. I have a 2 column site where the left menu is navigation and right side is content. Obviously, the left menu appears in the code before the content does, but I can flip them around via css float. If I do that, the content will appear on the left visually, even though in the code it still comes after the left side navigation. Do either positions affect seo?
On-Page Optimization | | cmp1010 -
Should I include a "|" for better page title SEO results?
I have seen many sites that include the "|" in page titles and was wondering if there is some SEO value in the practice. Example: Product Name | Company Name Instead of: Product Name by Company Name I have not seen any value in it myself other than a good way to avoid stop words. I wanted to make sure. Currently I have the "by" included in the page titles.
On-Page Optimization | | JedHenning0