Will this internal linking feature cause canonicalization issues?
-
This is a canonicalization type question, so I believe it should be a pretty straightforward answer. I just haven't had much experience with using the canonical tag so I felt I should ask so I don't blow up my site
Ok, let's say I have a product page that is at:
- www.exampledomain.com/products/nameofproduct
Now on that page I have an option to see all of the specs of the product in a collapsible tab which I want to link to from other pages - So the URL to this tab ends from other pages ends up being:
- www.exampledomain.com/products/nameofproduct?=productspecs
This will link to the tab and default it to open when someone clicks that link on another page.
Correct me if I'm wrong, but if I understand canonicalization correctly I believe creating this link is going to cause a duplicate page that has the opportunity to be indexed and detract from our SEO to the main product page.
My question is... where do I put the "rel=canonical" tag to point the SEO value back to the main page since the page is dynamically generated and doesn't have its own file on the server? - or do even need to be concerned with this?
Feel free to correct me if I'm wrong on any of the above. Like I said - this is something I am fairly familiar with how it works, but I haven't had much experience with using.
Thanks!
-
We'll be using IIS, but I suppose it works the same way. It's my hope to get this done with one small change and not have to update an entire database of thousands of pages.
Can that not be done?
-
Hey
So, your product pages are as follows:
productpage.php?productid=1
productpage.php?productid=2
productpage.php?productid=3And you are worried about duplicates that would be in the following format with three versions of product=1
productpage.php?productid=1
productpage.php?productid=1&variation=A
productpage.php?productid=1&variation=B
productpage.php?productid=1&variation=CIf so, then your canonical link for productid=1 which would go on all of the above variations of the productid=1 page would be:
<link <span>rel="canonical" href="productpage.php?productid=1" /></link <span>
Summary
The page name includes the bit that makes it a unique page but you are applying the canonical to all variations of that.
Hope it helps!
Marcus -
Makes sense.
Let me make sure I understand.
So, basically on that parameter page in the I need to have my programmers code the rel=canonical to pass in the URL of the page in the form of "www.exampledomain.com/productpage" - and that will take care of pointing all of the duplicate content generated by those query strings back to each individual product page, and will also ensure each product page is still indexed with its full SEO value?
-
It is one tag, but not one instance of the tag. The canonical must be on each param page referring back to the product page. It would he part of your head that you dynamically generate.
-
Yes this is what I want to do. I want Google to ignore the duplicate pages that would be created by the additional parameters and pass SEO value back to the product page.
What I'm confused about is how to code the tag and how to implement it. Each page, which there are thousands of, is generated dynamically - so I only have that one container page that I can update.
How do I take care of all of the product pages with one tag? Is this something that is done in the database?
Unfortunately we don't have a CMS in place, however it's something we're highly considering.
-
Cody -
Is the URL ending in /productname the individual product page? If so, what we are saying will work to canonicalize your product page. You're simply telling Google not to pass pagerank to the /productname?=productspecs page. You're telling them to ignore the specs part of the page as a separate page and to instead pass the link juice to the main page.
Once again, please correct any misunderstandings we may have of what you are trying to do.
Also, you incorporate the canonical tag on a page level. Hopefully you can set this through the CMS (I use Yoast SEO to do this with Wordpress).
-
True, if you want pages to build PR, it needs to to be canonicalized. What you are doing with the canonical is handling anything after the ? and pointing all page value back behind the ? If I'm reading this correctly, why would you want the spec page to gain value? Sorry if I'm not, I'm remote.
-
Hey guys. Thanks for all of the responses. The query string actually comes from part of a search tool, so I don't know if it can be output as a named anchor. If so it would require reprogramming the search tool. It's possible, but I believe at this point it would probably be easier to use the rel=canonical tag.
What I'm not getting is this:
All of our product pages are dynamically generated. So they are loaded into a page at:
www.exampledomain.com/products/productname
If I put the rel=canonical tag on that host page that is populated with data wouldn't I be throwing out any possibility for my individual product pages to rank? Wouldn't it all point back to that one product?
How do I use the rel=canonical tag so that each individual product page gets all of the ranking. Is there a way to do this?
-
Marcus -
I was going to suggest this as well, but did not know if it would be relevant. Good suggestion.
Question though. Will he need to specify somewhere on the page to link to the named anchor (i.e. an index on the actual page?) for the named anchors to work, or is this not an issue? This is why I did not suggest it, because I did not know the answer to my question.
-
Named anchors I great if it meets your needs otherwise rel canonical will work.
-
I agree that this is an excellent use of the canonical tag. The canonical tag goes on the host page nameofproduct and then when any other page is called nameofproduct?=productspecs, SEs will give credit to the nameofproduct page**. **
**I hope that answers your question. **
-
I agree that this is an excellent use of the canonical tag. The canonical tag goes on the host page nameofproduct and then when any other page is called nameofproduct?=productspecs, SEs will give credit to the nameofproduct page**. **
**I hope that answers your question. **
-
Hey, using the rel=canonical tag on the page will prevent this from being a problem but a better way would be to use named anchors instead of query string variables. Named anchors are page level navigation so you are not creating a potential duplicate version of the same page.
If you use querystring variables, you are creating a problem, and then fixing it with rel=canonical. If you use named anchors as page level navigation, you are never creating the problem in the first place.
- www.exampledomain.com/products/nameofproduct#productspecs
Hope it helps!
Marcus -
Nope that is what i was going to say, but you beat me to it.
-
I know that you put the canonical tag in the of your page, so it looks like:
rel="canonical" href="(originalpageURL)" />
Since you are linking a dynamic part of that page, the rel=canonical that you have specified there will hold for the page. It will be a dynamic page, but it is a subset of the page, so you should be fine.
Someone PLEASE correct me if I am wrong.
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
-
Value of EDU Links?
Greetings: We are considering hiring a firm specializes in developing .EDU links. Is the ROI on EDU links better than non EDU backlinks from reputable domains? Will obtaining EDU links results in greater domain authority and improved ranking for search engine results? Thanks, Alan
Intermediate & Advanced SEO | | Kingalan10 -
Rankings disappeared on main 2 keywords - are links the issue?
Hi, I asked a question around 6 months ago about our rankings steadily declining since April of 2013. I did originally reply to that topic a few days ago, but as it's so old I don't think it's been noticed. I'm posting again here, if that's an issue I'm happy to delete. Here it is for reference: http://moz.com/community/q/site-rankings-steadily-decreasing-do-i-need-to-remove-links Since the original post, I have done nothing linkbuilding-wise except posting blog posts and sharing them on Facebook, G+ and Twitter. There are some links in there which don't look great (ie spammy seo directories, which I'm sending removal requests to) although quite a lot of others are relevant. Here's my link profile: <a rel="nofollow" target="_blank">http://www.opensiteexplorer.org/links?site=www.thomassmithfasteners.com</a> I've tried to make the site more accessible - we now have a simple, responsive design and I've tried to make the content clear and concise. In short, written for humans rather than search engines. As of the end of November, 'nuts and bolts' has now disappeared completely, and 'bolts and nuts' is page 8. There are many pages much higher which are not as relevant and have no links. We still rank highly for more specialised terms - ie 'bsw bolts' and 'imperial bolts' are still page 1, but not as high as before. We get an 'A' grade on the on-page grader for 'nuts and bolts, and most above us get F. I was cautious about removing links as our profile doesn't seem too bad but it does seem as if it's that. There are a fair few questionable directories in there, no doubt about that, but our overall practice in recent years has been natural building and link earning. So - I've created a spreadsheet and identified the bad links - ie directories with any SEO connotations. I am about to submit removal requests, I thought two polite requests a couple of weeks apart prior to disavowing with Google. But am I safe to disavow straight away? I say this as I don't think I'll get too many responses from those directories. I am also gradually beefing up the content on the shop pages in case of any 'thin content' issues after advice on the previous post. I noticed 100s of broken links in webmaster tools last week due to 2 broken links on our blog that repeated on every page and have fixed those. I have also been fixing errors W3C compliance-wise. Am I right to do all this? Can anyone offer any suggestions? I'm still not 100% sure if this is Panda, Penguin or something else. My guess is Penguin, but the decline started in March 2013, which correlates with Panda. Best Regards and thanks for any help, Stephen
Intermediate & Advanced SEO | | stephenshone0 -
Am I missing an issue on my website?
Are there any glaring issues that I am missing with my site? I am building links, and growing the profile but had seen a drop in rankings a couple of months ago. Is this do to a site issue or am I just missing something? www.wallybuysell.com Any help would be great.
Intermediate & Advanced SEO | | CKerr0 -
Hreflang and canonicalization
When using hreflang in order to deliver the relevant version in SERs, should we also make use of a reference to a canonical version to avoid duplication? Currently, we provide different regional versions of our content where the content is largely the same aside from minor changes due to spelling, units of measurement although occasionally larger amends are required. We have implemented hreflang referencing all the alternative country Urls, e.g en-us, en-gb, en-aus etc but also specificied the canonical as the en-gb version since we are a UK based website and the majority of the content originated from the UK version of our site. Recently, our rankings across all countries have been falling markedly and I'm wondering whether the canonical element may be at fault. We have not been engaging in any black hat activities that might have been responsible for any sort of fall. When we implemented the hreflang and canonical in July 2012 our traffic has actually been increasing significantly until literally 21 Nov when the search traffic is plummeting considerably across all countries. It would be useful to know if you need to specify a canonical version when using hreflang or could there be another reason for our ranking falls. Many thanks in advance of your assistance.
Intermediate & Advanced SEO | | simon_realbuzz0 -
Relaunching old site - Will it regain former link equity?
We've got an older site with significant link equity. It 301 redirects to our current website, passing all traffic, link value, etc. The 301 redirects have been in place for several years. Since the original redirects were setup, the current website has acquired massive link equity above and beyond the redirects. I am considering removing all the 301 redirects and bringing the old site back to life (same URLs, content, design as before). I would also keep the current website live as is. The goal is to capture more SERP visibility by having 2 website "brands" in the same market. Will the old site regain it's former link equity or will we effectively be starting from scratch? In other words, does Google consider how long 301 redirects have been in place?
Intermediate & Advanced SEO | | Jeff_DomainTools0 -
CMS generating thousands of links, will it hurt my SEO?
I've shifted my static (HTML) eCommerce website to Magento. I am facing serious problem, my website has total 20 products (each product has canonical URL) , I was surprised to see thousands of links indexed in Google as well as in my webmaster Crawler stats, later on I removed all from webmaster tool and marked as fixed, also blocked crawlers to crawl on those specific directories through robots.txt file. Now my question is will these urls still effect my website's SEO? As they still exist and accessible but blocked for crawlers. And is there any better way to block them other than robots.txt.Thanks
Intermediate & Advanced SEO | | clarybusinessmachines0 -
My site links have gone from a mega site links to several small links under my SERP results in Google. Any ideas why?
A site I have currently had the mega site links on the SERP results. Recently they have updated the mega links to the smaller 4 inline links under my SERP result. Any idea what happened or how do I correct this?
Intermediate & Advanced SEO | | POSSIBLE0 -
How should I handle these links?
I recently purchased a site which is in the same niche as my personal blog. MANY of the keywords which I want both sites to rank for, they are already ranking well for (Eg I rank #1 with one site and #5 for the other). I haven't started linking the two sites to each other yet (waiting to announce the acquisition before I do). I have 2 questions for you all... How powerful do you think linking between these sites could be? How do you think I should handle the linking between these two sites?
Intermediate & Advanced SEO | | PedroAndJobu0