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
-
Rel=canonical and internal links
Hi Mozzers, I was musing about rel=canonical this morning and it occurred to me that I didnt have a good answer to the following question: How does applying a rel=canonical on page A referencing page B as the canonical version affect the treatment of the links on page A? I am thinking of whether those links would get counted twice, or in the case of ver-near-duplicates which may have an extra sentence which includes an extra link, whther that extra link would count towards the internal link graph or not. I suspect that google would basically ignore all the content on page A and only look to page B taking into account only page Bs links. Any thoughts? Thanks!
Intermediate & Advanced SEO | | unirmk0 -
ECommerce website with link to manufactures site for ordering - Should these links be follow or no follow?
Dear Mozzers, I have a couple of questions regarding link juice and whether I should have do follow or no follow links ? We have an affiliate eCommerce website and on our product pages we have a "Order online " button which will go our subdomain on the manufactures site in order for the user to complete the online ordering process So it's - www.ourcompany.co.uk - "Order Online Button" - www.manufactuer.ourcompany.co.uk Should this " Order online Button" be a Follow or No Follow link ? I ask this as currently from looking at Majestic seo , these "order online " buttons on my product pages seems to be Follow links so am I losing potential link juice by sending it externally ? Am I correct in assuming by changing it to be no follows, I would increase the link juice going elsewhere internally? thanks Pete
Intermediate & Advanced SEO | | PeteC120 -
Links on page
Hi I have a web page which lists about 50-60 products which links out to either a pdf on the product or the main manufacturers website page containing product detail. The site in non e-commerce is this the site/page likely to get hit by Penguin? Would it be best to create a separate page for the product/manufacturer group i.e 5 or 6 pages but linking out to the PDFs etc...?
Intermediate & Advanced SEO | | Cocoonfxmedia0 -
Strange internal links and trying to improve PR ? - Please advise
Hi All, I've been looking at the internal links on my eCommerce site to try and improve PR and get it as efficient as possible so link juice isnt getting wasted etc and I've come across some odd ones I would like some advice on My website currently has between 125-146 links on every page (Sitemap approx 3500 pages). From what I read ,the ideal number of links is under 100 but can someone confirm is this is still the case ?..Is it a case of less is more , in terms of improving a page PR etc ? in terms of link juice strength etc so it's not getting diluted to unnecessary pages. One of my links is a bad url ( my domain + phone number for reason) which currently goes to a 404 page ?. - Is this okay or do we need to track down the link and remove it. I don't want link juice getting wasted as it's on every page. Another one of my links is my domain.name/# and another one with some characters after the # which both to the home page. Example www.domain.co.uk/# and www.domain.co.uk#abcde both go to homepage. Is this okay or am I potentially getting duplicate content as If I put these urls in , they go to my home page. I have a link on every page which opens up outlook (email) on the contact us. Should this really be changed to a button with a contact us form opening up instead ? I currently have 9 links on the bottom on every page i.e About it , delivery , hire terms,.contact us , trade accounts , privacy, sitemap. When I check , these pages seem to be my strongest pages in terms of PR. Is that because they are on every page?.. Should I look to reduce these links as they are accessible from the navigation menu apart from privacy and sitemap. Any advice on this would be greatly appreciated ? thanks Pete
Intermediate & Advanced SEO | | PeteC120 -
Removing Bad Links
Hi all, I am in the process of conducting a Link Audit and I am faced with quite a lot of seemingly poor quality examples, such as; http://gotogetaways.com/tag/cunard/ http://jobhiringlocalandabroad.blogspot.com/p/job-hiring-for-cruise-liner-orchestra.html http://lumukixu.xlx.pl/p-o-cruises-aurora.php To me these should be removed \ disavowed but I am getting a little resistence from stakeholders regarding the amount of links I am seeking to rid ourselves of - all are of a similar quality to my examples above... Just so that I know that I am not being 'over eager' with my audit, I welcome your opinions Thanks Andy
Intermediate & Advanced SEO | | TomKing0 -
Internal links question
I've read that Google frowns upon large numbers of internal links. We're building a site that helps users browse a list of shows via dozens of genres. If the genres are expose, say, as a pulldown menu as opposed to a list of static links, and selecting the pulldown option filters the list of shows, would those genres count against our internal links count?
Intermediate & Advanced SEO | | TheaterMania0 -
Fixed "lower-case/mixed-case" Internal Links causing duplicate- Now What?
Hi, So after a site re-launch, Moz crawled it and reported over 150 duplicate content errors. It was determined that it was because of incorrect uses of capitalization in internal links. Using screaming frog, I found all (500+) internal links and fixed them to match the actual URL. Now the site is100% consistent across the board as best I can tell. I am unsure what to do next though. We launched the site with all the internal link errors, and now many of the pages that are indexed and ranked are with the incorrect URL form. Some have said to use a canonical tag. But how can I use a canonical tag on a page doesn't even exist? Same thing with 301. Can I redirect /examplepage to /ExamplePage if only /ExamplePage actually exists? I would really appreciate some advice on what to do. After I fixed the internal links, I waited a week and Moz crawled the site again and reported all the same errors, and then even more. All capitalization. Seems like it's a mess. After I did another Screaming Frog crawl, it showed no duplicates, so I know I was successful in fixing the internals. Help!!
Intermediate & Advanced SEO | | yogitrout10 -
Number of Links for Internal E-commerce Search Pages (and Anchor Text)
Hello! We have an internal search engine for different email, postal, and phone data products on our website (75,000 product pages... calling all direct marketers!), I've noindexed all our dynamic search pages, but I'm wondering how else I can improve these pages. Should I reduce the amount of links on each page?
Intermediate & Advanced SEO | | Travis-W
Currently there are 20 search results per page. " <variable>Mailing List" has been a pretty good source of traffic for our product pages.
Should I change the anchor text for all the product pages listed to include the added long-tail keyword, or would that be extremely spammy, having the word "Mailing List" 20+ times on my page? We have both static and dynamic search pages - here is one of static ones: http://www.consumerbase.com/direct-marketing-mailing-lists.html
My main problem with adding the long tail KWs to the anchor text is that we still want our static search pages indexed.</variable> Thanks!0