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
-
Filter By Category bad for seo?
Hello Everyone! I know that a single product should not have filter by color option since it will create duplicate content, and you have to use canonical tags to solve it. BUT how about sorting through products via category/brands?
On-Page Optimization | Mar 14, 2023, 9:56 AM | Safxmed
Filter by category changes the URL of the General shop page (ex: hello.com/Shop/Category1022039 ). This page only displays the products within, no content/ descriptions etc unlike the original category page (ORIGINAL CATEGORY PAGE) Each of these category/brand already have their own individual pages (ex: hello.com/Shop/A). This is the page that will be optimized for content, FAQ, and ranking etc. Unlike in the url created when filtering through the categories. So technically I would have 2 URL for each Brand/Category. Would they compete with each other? What would you guys suggest. Please advise me on this. Thank You0 -
titles length, URL length and meta descriptions on a subdomain effecting SEO on main domain?
Hi all, I am currently evaluating areas for optimization on my main domain. When doing this, Moz has identified multiple titles and urls that should be shortened and missing meta descriptions on my subdomain (a help center of sorts). As far as I am aware, we have not set up any "no-index" rules for this subdomain. Are these items affecting SEO on my main domain? Thanks,
On-Page Optimization | Jan 6, 2022, 6:22 PM | annegretwidmer
Kasey0 -
Affect of ™ and ® in title for SEO
I am looking at adding the trademark and rights reserved symbols to some of my titles. I think this might help with click through rate. From what I have found, this shouldn't have an affect on SEO unless it makes the title too long. Is this correct? Stephen
On-Page Optimization | May 15, 2018, 6:08 AM | stephen.volker1 -
Is Disqus comments useful as per SEO?
Is Disqus comments useful as per SEO? We have some comments on each of our pages and its time taking to moderate them, so wanted to know if its beneficial in any ways for SEO?
On-Page Optimization | Aug 4, 2016, 2:47 PM | bsharath0 -
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 | Feb 10, 2014, 3:54 PM | muminaydin0 -
Correct .htaccess settings for canonical url?
I want to forward all urls to http:www.mysite.com but am a little confuse because I am getting duplicate content error: Pages with Duplicate Page Content as of Jan 15http://titanappliancerepair.com/ 1 duplicatehttp://titanappliancerepair.com 1 duplicatehttp://titanappliancerepair.com/index.html 1 duplicate*****************************************************************What should I put ion htaccess file so I can forwardhttp://titanappliancerepair.com/index.htmlhttp://titanappliancerepair.comhttp://titanappliancerepair.com/to http://www.titanappliancerepair.comor what is the correct way to do it?I'm confused because when I enter http://titanappliancerepair.com/ in browser it showshttp://titanappliancerepair.com so how can it be considered duplicate content?.Can someone help?I have godaddy and they have gave me this code to put RewriteEngine on
On-Page Optimization | Jan 21, 2014, 6:21 PM | webbutler13
rewritecond %{http_host} ^coolexample.com [nc]
rewriterule ^(.)$ http://www.coolexample.com/$1 [r=301,nc]What is correct?0 -
SEO for luxury brands!?
Hi all, It is widely known fact that you will be a bit in trouble if you will need to do SEO for luxury brand that is not willing to sacrifice design, layout etc. for SEO purposes. So basically - there is no content to optimize and there is almost no keywords to rank! 😉 Just wondering - how would be the best to approach such kind of terrible situation? Regards, Jungle
On-Page Optimization | Sep 12, 2012, 6:56 AM | Jungles0 -
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 | Feb 7, 2012, 8:03 PM | 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