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
-
On-page SEO
This is a question for the organic SEO experts, once you added the main keyword that you want to rank for in the homepage title, meta title plus meta description, perhaps once or twice in the text on the homepage. How often do you then write it in the content marketing, say blog posts, we want to rank higher on Google for "SEO agencies Cardiff" however if you mention this in the blog posts too much say once a week, this could lead to over optimisation issues?
On-Page Optimization | | sarahwalsh1 -
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 -
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 -
Ecommerce URLs with numbers
Hi everybody! I have to optimize an ecommerce where somebody has previously done the SEO optimization, although the URLs have numbers before the product's name They have told me that these numbers are useful to find the products, so I think it shouldn't be really bad if I don't redirect them to "clear" ones. For example: /colesterol-sobrepeso/2217-hc-grass-capsulas-duras-15-capsulas.html > /colesterol-sobrepeso/hc-grass-capsulas-duras-15-capsulas.html Am I right? After all, they contain the keywords and the subfolders are also ok. Or it would be better if I redirect the whole site? Thanks!
On-Page Optimization | | Estherpuntu0 -
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 -
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 -
How do I remove a Canonical URL Tag?
Some of my report cards say I have too many canonical URL tags. However, there is no information no how to delete one. Can someone give me a link or explain? Thanks.
On-Page Optimization | | dealblogger0 -
Disclaimer in footer - is it affecting my SEO?
For legal reasons I am required to include a 266 word disclaimer in the footer of every page of my credit card comparison site creditcards.com.au. My question is in 2 parts: is this indexable content likely to be hurting my SEO? if so, what is the best way to include the text in the footer but prevent search engines from indexing it? Thanks.
On-Page Optimization | | OMGPyrmont0