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
-
Will Multiple 301's to the Same URL Cause Issues?
Hey Everyone, We have a client (I don't have permission to disclose) that has just attempted to create better URL's for their site, per our direction. In the process, their website platform kind of took over their renaming attempts and instead of creating the clean, short, descriptive URLs we all wanted, they got convoluted, longer URLs. This all happened within the past 3 or 4 days. So, they went out and got an add-on that's going to help them create better URL's. In the meantime, they now have the original page/URL plus two new ones for a total of three. No 301's have been setup yet. When they create the new and (hopefully) improved URL tomorrow, will it hurt their rankings to have three pages redirected to the new one? Is a 301 redirect the right method for this issue or should they do something different? Thanks in advance, Kirk
On-Page Optimization | | kbates0 -
Homepage canonical url with splash or not with splash? All other links are without but logo links with splash
Hello, There is so much contradicting information about the homepage canonical URL. Many websites have all the links without the trailing splash but their homepage URL still contains the splash. Now Moz is an example with this. Their urls don't have the splash, and their canonical does not have the splash. Why is it so and why so much different ways people have it?
On-Page Optimization | | advertisingcloud0 -
How can i block the below URLs
Google indexed plugins pages for my website. Please check below. How can stop them to be indexed on google.? http://www.ayurjeewan.com/wp-content/plugins/LayerSlider/static/skins/glass/ http://www.ayurjeewan.com/wp-content/plugins/LayerSlider/static/skins/borderlesslight3d/ http://www.ayurjeewan.com/wp-content/plugins/LayerSlider/static/skins/defaultskin/ My robots.txt file is - User-agent: * Disallow: /wp-admin/
On-Page Optimization | | MasonBaker0 -
Opencart category urls
Hi, I have a problem with the category urls in Opencart. I have duplicate page content because of this: www.mydomain.com/category and www.mydomain.com/category?page=1 are with same content. There is also a very new problem, there are new urls - autogenerated like this. www.mydomain.com/category/category?page1 These three urls are with same content and title. I tried with 301 redirect like this: RewriteRule ^category/category?page1$ www.mydomain.com/category [L,R=301] but it doesnt work. Pls help me.
On-Page Optimization | | ankali0 -
Removing old URLs that are being used for my on page optimization?
Is there a way to remove old URL's that are still being used for my keywords for my on page optimization? They are giving me grades of F since they no longer exist and if I change the URL to the current one, the grade becomes an A, but they are still showing after the new crawl.
On-Page Optimization | | Dirty0 -
URL 404 errors after crawl? HELP!
I am getting Crawl errors. It shows multiple pages as. I know this is more of a technical question however, I cannot find the answer anywhere. I'm using wordpress www.mydomain.com/title-of-page/mydomain.com/contact WHAT IS THIS?!
On-Page Optimization | | ChristineWeinbrecht0 -
SEF URLs. Should I use / or - ?
I have o activate SEF URLs in a website. Regarding SEO, is there any difference between using / or - ? I mean, Is it better to write URLs like this: http://www.domain.com/folder/folder/page or like this: http://www.domain.com/folder-folder-page ? Is there any difference? Thanks!
On-Page Optimization | | ociosu0 -
301 redirect and then keywords in URL
Hi, Matt Cutts says that 301 redirects, including the ones on internal pages, causes the loss of a little bit of link juice. But also, I know that keywords in the URL are very important. On our site, we've got unoptimized URLs (few keywords) in the internal pages. Is it worth doing a 301 redirect in order to optimize the URLs for each main page. 301 redirects are the only way we can do it on our premade cart For example (just an example) say our main (1 of the 4) keywords for the page is "brown shoes". I'm wondering if I should redirect something like shoes.com/shoecolors.html to shoes.com/brown-shoes.html In other words, with the loss of juice would we come out ahead? In what instances would we come out ahead?
On-Page Optimization | | BobGW0