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
-
Hi i have a few pages with duplicate content but we've added canonical urls to them, but i need help understanding what going on
hi google is seeing many of our pages and dupliates but they have canonical url on there https://www.hijabgem.com/index.php/maxi-shirt-dress.html has tags https://www.hijabgem.com/maxi-shirt-dress.html
On-Page Optimization | | hijabgem
has tagshttps://www.hijabgem.com/index.php/quickview/index/view/id/4693
has tags
my question is which page takes authority?and are they setup correct, can you have more than one link rel="canonical" on one page?0 -
Dynamic URL Parameters + Woocommerce create 404 errors
Hi Guys,
On-Page Optimization | | jeeyer
Our latest Moz crawl shows a lot of 404-errors for pages that create dynamical links for users? (I guess it are dynamic links, not sure). Situation: On a page which shows products from brand X users can use the pagination icons on the bottom, or click on: View: / 24/48/All.
When a user clicks 48 the end of the link will be /?show_products=48
I think there were some pages that could show 48 products but do not exist anymore (because products are sold out for example), and that's why they show 404's and Moz reports them. How do I deal with these 404-errors? I can't set a 301-redirect because it depends on how many products are shown (it changes every time).
Should I just ignore these kind of 404-errors? Or what is the best way to handle this situation?0 -
URL Keyword Variations?
I'm aware that keywords in the url aren't as effective as they used to be, but I'm still convinced that they do have a significant impact (based on results in one of the niches I'm in). My question is, will variations of keywords and "hidden" keywords have as much value as an exact keyword? For example, let's say that I'm trying to target the keyword "day." Will including variations like "daily" in the url work just as well? What about a brand name that includes the keyword hidden in its name, like "Dayest"? And, as a followup question, does including "stop" words have any effect? For example, if I'm trying to target the keyword "Day of the Month", would including "day" and "month" in the url be just as effective as including "day of the month"?
On-Page Optimization | | JABacchetta0 -
When You Add a Robots.txt file to a website to block certain URLs, do they disappear from Google's index?
I have seen several websites recently that have have far too many webpages indexed by Google, because for each blog post they publish, Google might index the following: www.mywebsite.com/blog/title-of-post www.mywebsite.com/blog/tag/tag1 www.mywebsite.com/blog/tag/tag2 www.mywebsite.com/blog/category/categoryA etc My question is: if you add a robots.txt file that tells Google NOT to index pages in the "tag" and "category" folder, does that mean that the previously indexed pages will eventually disappear from Google's index? Or does it just mean that newly created pages won't get added to the index? Or does it mean nothing at all? thanks for any insight!
On-Page Optimization | | williammarlow0 -
Sorry, but that URL is inaccessible
Our site is all on the https protocol so every time I use the on-page grader it tells me the link is unavailable. What can we do? When I use the http protocol (which is 301 redirected to the https) it still gives me the same message.
On-Page Optimization | | whiskeyfl1 -
Should I use www in my url when running On-Page Report Card?
When creating a On-Page Report Card I get 2 different results when using a WWW and without for my url. What is best?
On-Page Optimization | | thomas.wittine0 -
On Page Reports - Multiple URLs Appearing for a Keyword
Hello, I have a question regarding the on page reports automatically generated by seomoz When I look at my on page reports I notice that each keyword appears a number of times, each with a different url and then a grade for the on page report and sometimes a rank. I'm not sure I understand this, firstly I thought the on page reports were only generated for keywords in the top 50, does that mean the global top 50, or my top 50? Also why are they appearing for so many urls, I find this confusing and am not sure which pages to focus on improving, it's not always my intended pages that are ranking the best. I believe that I read somewhere that I can choose which pages to have the on page reports rank for, perhaps this is the solution? Any thoughts would be appreciated. Thanks, Iain
On-Page Optimization | | jannkuzel0 -
Duplicate content issue with dynamically generated url
Hi, For those who have followed my previous question, I have a similar one regarding dynamically generated urls. From this page http://www.selectcaribbean.com/listing.html the user can make a selection according to various criteria. 6 results are presented and then the user can go to the next page. I know I should probably rewrite url's such as these: http://www.selectcaribbean.com/listing.html?pageNo=1&selType=&selCity=&selPrice=&selBeds=&selTrad=&selMod=&selOcean= but since all the results presented are basically generated on the fly for the convenience of the user, I am afraid google my consider this as an attempt to generate more pages as there are pages for each individual listing. What is my solution for this? Nofollow these pages? Block them thru robots txt?
On-Page Optimization | | multilang0