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
-
Did Google Ignore My Links?
Hello, I'm a little new to SEO, but I recently was featured (around 2 yrs ago) on some MAJOR tech blogs. For some reason however, my links aren't getting picked up for over 2 years - not even in MOZ, or other link checker services. - By now I should have had amazing boost from this natural building, but not sure what happened? This was completely white hat and natural links. The links were after the article was created though, would this effect things? - Please let me know if you have any advice! - Maybe I need to ping these some how or something? - Are these worthless? Thanks so much for your help! Here's some samples of the links that were naturally given to http://VaultFeed.com http://thenextweb.com/microsoft/2013/09/13/microsoft-posts-cringe-worthy-windows-phone-video-ads-mocking-apple/ http://www.theverge.com/2013/9/15/4733176/microsoft-says-pulled-iphone-parody-ads-were-off-the-mark http://www.theregister.co.uk/2013/09/16/microsoft_mocks_apple_in_vids_it_quickly_pulls/ http://www.dailymail.co.uk/sciencetech/article-2420710/Microsoft-forced-delete-cringe-worthy-spoof-videos-mocking-new-range-iPhones.html And a LOT more... Not sure if these links will never be valid, or maybe I'm doing something completely wrong? - Is there any way for Google to recognize these now, and then they'll be seen by MOZ and other sites too? I've done a LOT of searching and there's no definitive advice I've seen for links that were added after the URL was first indexed by Google.
Intermediate & Advanced SEO | | DByers0 -
How to do Spam Link Analysis before posting a link?
OSE provides Spam analysis for website link profile, Do Moz have a tool to check the link quality before placing a link? How to do Spam Link Analysis before posting a link?
Intermediate & Advanced SEO | | bondhoward1 -
More bad links
Hi, After a recent disastrous dalliance with a rogue SEO company I disavowed quite a few domains (links he had gained) which I was receiving a penalty of about 23 places. I cleaned up the site and added meta descriptions where missing, and deleted duplicate titles and pages. This gained me another 5 places. In the meantime I have been getting a few links from wedding blogs, adobe forums and other relevant sites so was expecting an upward momentum.  Since the high point of bottom of page 1 I have slowly slid back down to near the bottom of page two for my main keywords. Just checked my webmaster tools latest links and  another 4 domains have appeared (gained by the dodgy SEO) : domain:erwinskee.blog.co.uk domain:grencholerz.blog.co.uk domain:valeriiees.blog.co.uk domain:gb.bizin.eu They all look bad so I am going to disavow. I expect to find an improvement when I disavow these new domains. As I have said,  have started using the open site explorer tool to check my competitors backlinks and getting some low level links(I'm a wedding photographer) like forum comments and blog comments and good directories. I know there is much more than this to SEO and  plan on raising my game as time progresses. I have also gained more links from the domains I disavowed on the 8th January mostly from www.friendfeed.com. will webmaster tools ignore any new links from previously disavowed domains? Like I have said I know there are better ways to get links, but are these links (forum comments, blog comments and respectable directories) one way of raising my rankings? To be honest that is all my competitors have got other than some of the top boys might have a photograph or two on another site with a link. No-one has a decent article or review anywhere (which is my next stage of getting links). Thanks! David.
Intermediate & Advanced SEO | | WallerD0 -
301 Externally Linked, But Non-Producing Pages, To Productive Pages Needing Links?
I'm working on a site that has some non-productive pages without much of an upside potential, but that are linked-to externally. The site also has some productive pages, light in external links, in a somewhat related topic. What do you think of 301ing the non-productive pages with links to the productive pages without links in order to give them more external link love? Would it make much of a difference? Thanks... Darcy
Intermediate & Advanced SEO | | 945010 -
Link Audit - Sponsor/Partners Images Links
Hi everyone, 1. I'm conducting a link audit and read that if you are a sponsor or partner of a company, links should be nofollowed. Â I always no follow them if they are money keywords, but branded I leave alone. Â is that a good strategy? Or do i nofollow my brand name as well? 2. What if I'm a sponsor and have my company logo on their website that links to my website? How would i know if that link should be nofollowed? a. Does it depend on the "alt" of the image? b. Does it depend on the landing page of the link of the image? c. Do i just no follow image links from sponsor pages and partner pages as a whole? Â Please keep in mind that I'm sponsoring websites that are relevant to my niche. PLEASE HELP!
Intermediate & Advanced SEO | | Shawn1240 -
Webmaster Tools - Structured Data 100% drop. Many people with same issue, nobody seems to understand what might have caused it.
WMT shows a significant drop in structured data markup on June 7th, steep incline by June 21st. Now the same thing happened on August 9th, with no signs of recovery. Lost 45% of our search traffic. There are many people with the same problem, and nobody seems to know what caused it. Here are a few links to some forums: #1 Google Groups, #2Â Google Groups, #3Â Google Groups, #4Â 70% drop on GWT on June 7 Google SEO News and Discussion forum at WebmasterWorld. On our end we see a 100% drop in breadcrumbs and a 100% drop in hcards leading to a 45% search traffic drop. Any ideas why might have happened and how to fix this?
Intermediate & Advanced SEO | | PhilippGreitsch0 -
For those of you that used LINK DETOX.
Did you go ahead and remove all the TOXIC and HIGH RISK links? Just the toxic? Were you successful with the tool?
Intermediate & Advanced SEO | | netviper0 -
Does Google WMT download links button give me all the links they count
Hi Different people are telling me different things I think if I download "all links" using the button in WMT to excel, I am seeing all the links Google is 'counting' when evaluating my site. is that right?
Intermediate & Advanced SEO | | usedcarexpert0