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
-
Seeking SEO contractor
I would like to hire an SEO contractor to assist with some technical/SEO issues on our site (Schema, etc). Can anyone make a recommendation? I am looking to work with a small company. Thank you in advance for any referrals!
On-Page Optimization | | JulieALS1 -
How Do SSL Certificates Affect On SEO?
Does really a SSL certificate affect on SEO? How? Why? According to my hosting provider (ganje.host), "https" improves SEO! As I know, It decreases speed. So how does it improve SEO when my speed is slower than before?
On-Page Optimization | | MirzaeeMustafa0 -
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 -
How does a collapsed section affect on page SEO?
A client recently asked me whether a tabbed collapsed section of text that is expanded (i.e. revealed) when clicked, is an OK thing to do without negatively effecting SEO. I told him that for starters, he may want to rethink why he would want to hide the text in the first place (this is not an FAQ type scenario). The reason has to do with the aesthetic of the page. Anyway, aesthetic aside, any thoughts on whether a collapsed (hidden from view) negatively affects on-page SEO? Thanks.
On-Page Optimization | | stephanwb
Stephan0 -
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 | | webbutler13
rewritecond %{http_host} ^coolexample.com [nc]
rewriterule ^(.)$ http://www.coolexample.com/$1 [r=301,nc]What is correct?0 -
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 -
HAVING A POPUP WINDOW ON HOMEPAGE AFFECTS SEO?
Good evening, I currently have a blog that uses a popup window after 15 seconds that is used to add visitor to my newsletter. My question is : Does it have a negative effect in SEO? Thanks in advance Maria Jesus
On-Page Optimization | | goperformancelabs0 -
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