The URL Inside
-
Howdy SEO'ers,
I have a quick question for the SEO gurus out there.
When constructing "better" search friendly URLs would one of these be better than the other?
Example 1:
http://Domain.com/Category/Sub-Category/Product-name
Example 2:
http://Category.Domain.com/Sub-Category/Product-name
In this example the category could be phones and the sub-category brands of phones.
Is either one of these URLs "better" than the other in terms of ranking?
Thanks!
I'll hang-up and listen to your answer.
Jonathan
-
Mystripping the category is "safer", because I've seen so many eCommerce that assign a product to more then 1 category. This causes at least 2 urls with the same content... Duplication with all the risks dupes have for a site health.
-
I agree with Gianluca and for the reasons he provided.
Alan, I could not get the URL link you shared to work, but it seems Matt is directly referring to the crawling and indexing of the page, not the ranking.
The ranking of the page has much greater potential on an established site with DA rather then on a sub-domain which does not have the DA of the main site.
The only part of Gianluca's advice which seems debatable is whether or not to include the category in the URL. I am sure you will find solid SEO reasons to support both methods.
-
Gianluca is absolutely correct. Example one (main site) is much better. Subdomains were used by spammers many years ago and are no longer a good strategy.
For every subdomain you make for each product you're basically creating a separate site too which needs to be put into GWMT seperately, so that gets a little crazy. It's just not a good strategy, even when someone wants to create a blog only for their site I tell them to put it under the main domain for PR and Google webmster compliance reasons, and you're talking about creating dozens of subdomains. There is only downside to doing it that way.
Good luck
-
I would have to disagree
Matt Cutts December 10, 2007 at 10:48 am
<dd class="comment byuser comment-author-matt-cutts bypostauthor even thread-even depth-1">
“Which one is to be expected to be indexed and show on Google first; subdomain or subdirectory?”
Harith, to the best of my knowledge neither one has an advantage for crawling/indexing first.
</dd>
OK its old, but i could not find any metion after that date.
What i think is important is if the appear to be diffrenct sites, this can be the same for subdirectories -
Discard the subdomain option, because it's a link building killer. A subdomain is an independent site for the search engine respect the main domain, therefore you would have to do X link building campaign for the X category of product you have. Then all the link gained by a subdomain would not have ranking value for the others, because they a different sites. Therefore, for categories, the best is: www.domain.com/category. For the product page the best is always to strip the categories and subcategories from the URL: www.domain.com/product. This diminishes a lot the risk of duplication content, that can appear when you assign a product to more than category or subcategory.
-
This question has been asked many times, and i would say that they are the same if linked well. i would cross link them so that they do not look like seperate sites.
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
-
Create 100% new content in existing page/URL?
We have about 30 pages of content that we are hiding from the website as these articles had some issues. If these pages ranked well, would you recommend that the new content is written within these pages? Meaning, we would replace the content that's in those pages with the same topic and keywords. Or do you think it's best to start a new page instead?
On-Page Optimization | | kvillalobos0 -
URL, page title, item name - which is most important for google ranking
We are a bridal store and are able to use different information in the URL, Page title and item name. In item name we give the product a name for us to identify ie. Alex Lace Dress in Black/Nude, Ivory/Nude, Red/Red In Page Title we use the suppliers name and product code as well as the item name ie. Jadore j8075 Alex Lace Dress Online Australia URL = alex-lace-dress/ Are we using the correct format ? What could we do to improve them?
On-Page Optimization | | CostumeD0 -
Articles URL
Hello, Currently, I am parsing article base on article ID on URL request. For example:
On-Page Optimization | | JohnHuynh
To go to the content of article **What is the visa on arrival? How to get it? **I am using URL like that http://www.vietnamvisacorp.com/news/what-is-the-visa-on-arrival--how-to-get-it--245.html and base on ID 245 to get this page content.
But, now I want to optimize this URL to http://www.vietnamvisacorp.com/news/what-is-the-visa-on-arrival--how-to-get-it.html. Then I got a problem: How to get an article without ID? Thanks,0 -
Dates in URL's
I have an issue of duplicate content errors and duplicate page titles which is penalising my site. This has arisen because a number of URLs are suffixed by date(s) and have been spidered . In principle I do not want any url with a suffixed date to be spidered. Eg:- www.carbisbayholidays.co.uk/carbis-bay/houses-in-carbis-bay/seaspray.htm/06_07_13/13_07_13 http://www.carbisbayholidays.co.uk/carbis-bay/houses-in-carbis-bay/seaspray.htm/20_07_13/27_07_13 Only this URL should be spidered:- http://www.carbisbayholidays.co.uk/carbis-bay/houses-in-carbis-bay/seaspray.htm I have over 10,000 of these duplicates and firstly wish to remove them on block from Google ( not one by one ) and secondly wish to amend my robots.txt file so the URL's are not spidered. I do not know the format for either. Can anyone help please.
On-Page Optimization | | carbisbayhols0 -
Mixing hyphens and underscores in a url
Hello. I am working on a site that was built with underscores in the urls, but only in the page names, not in the subdirectories. All the subdirectories have one-word names. So a typical url is "example.com/sub1/sub2/page_name." We would like to change the name of one of the subdirectories to a name that would be very useful for SEO, but this new name is a hyphenated word, let's call it "new-sub." If we changed "sub2" to "new-sub" then our url would have a mix of underscores and hyphens: example.com/sub1/new-sub/page_name. But if I used "new_sub" instead, google would read the words as connected with an underscore, instead of reading the subdirectory as a hyphenated word, which would be less useful for SEO. It seems like it might be a problem to have a hyphen in a subdirectory and underscores in the page names. But I want the SEO value of the hyphenated word. Any recommendations? Thank you!
On-Page Optimization | | nyc-seo0 -
Canonical URL Tag
Hi, I have two pages that are identical on my site: http://www.absolutepower.nl/creatine-monohydraat and http://www.absolutepower.nl/CREATINE/creatine-monohydraat Should I use the canonical URL tag in this case? Thanks, Jasper
On-Page Optimization | | Japking0 -
Replacing "_" with "-" in url, results in new url?
We ran SEOmoz's "On-Page Optimization" tool on a url which contains the character "_". According to the tool: "Characters which are less commonly used in URLs may cause problems with accessibility, interpretation and ranking in search engines. It is considered a best practice to stick to standard URL structures to avoid potential problems." "Rewrite the URL to contain only standard characters." Therefore we will rewrite the url, replacing "_" with "-". Will search engines consider the "-" url a different one? Do we need to 301 the old url to the new one? Thanks for your help!
On-Page Optimization | | gerardoH0 -
2 URLs, same content, 1 with keywords. Does this hurt me?
I'm in the process of adding some new features to our site and have a question about our URLs. Most of our URLs consist of either sitename.com/contentname or sitename.com/content/contentid I'm in the process of building a directory to those pages. The directory has a number of filters which will ultimately point to the destination page. sitename.com/filter1/filter2/contentid or sitename.com/filter1/filter2/contentname The destinations will have references. From an SEO perspective, I would think I want the filter1/filter2 version of the link indexed since this will add keywords that someone might search for. However, since the filters are dynamic, if someone just searches for contentname I would want to have sitename.com/contentname returned in the search results. Do I get any SEO benefit out of building those filter links as described if they are not the canonical links?
On-Page Optimization | | JoeCotellese810