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
-
Links
Hi 64% of our links come from a .com website and only 30% from .co.uk. We only do business in the UK should I continue with the .com links as they are easier to source. Does this hurt my SEO efforts?
Intermediate & Advanced SEO | | Caffeine_Marketing0 -
Do I have to many internal links which is diluting link juice to less important pages
Hello Mozzers, I was looking at my homepage and subsequent category landing pages on my on my eCommerce site and wondered whether I have to many internal links which could in effect be diluting link juice to much of the pages I need it to flow. My homepage has 266 links of which 114 (43%) are duplicate links which seems a bit to much to me. One of my major competitors who is a national company has just launched a new site design and they are only showing popular categories on their home page although all categories are accessible from the menu navigation. They only have 123 links on their home page. I am wondering whether If I was to not show every category on my homepage as some of them we don't really have any sales from and only concerntrate on popular ones there like my competitors , then the link juice flowing downwards in the site would be concerntated as I would have less links for them to flow ?... Is that basically how it works ? Is there any negatives with regards to duplicate links on either home or category landing page. We are showing both the categories as visual boxes to select and they are also as selectable links on the left of a page ? Just wondered how duplicate links would be treated? Any thoughts greatly appreciated thanks Pete
Intermediate & Advanced SEO | | PeteC120 -
International SEO Question
_The company I work for has a website www.example.com that ranks very well in English speaking countries - US, UK, CA. For legal reasons, we now need to create www.example.co.uk to be accessible and rank in google.co.uk. Obviously we want this change to be as smooth as possible with little effect on rankings in the UK. We have two options that we're talking through at the moment - Use the hreflang tag on both the .com and the .co.uk to tell Google which site to rank in each country. My worry with this is that we might lose our rankings in the UK as it will be a brand new site with little to no links pointing to it. 301 redirect to the .co.uk based on UK IP addresses. I'm skeptical about this. As a 301 passes most of the link juice, I'm not sure how Google would treat this type of thing - would the .com lose ranking? So my questions are - would we lose ranking in the UK if we use option 1? Would option 2 work? What would you do? Any help is appreciated._
Intermediate & Advanced SEO | | awestwood0 -
Will SEO cause a drop in the number of impressions?
Hello, I have been a member of the Moz community for a long time. I very seldom ask questions here but this time I really need your help to make sure I will not make mistakes that will negatively affect my site. My site monetizes according to the number of impressions visualized by the users who visit it. I now want to try to optimize it by using all those nice SEO techniques I have learned through Moz. My goal is to make sure that if I use the various SEO strategies, I will still be able to obtain the high number of impressions I get now. If not, I prefer to leave the situation untouched and I will not start optimizing the site for SEO. Please kindly read the situation below and give me a little support to make sure I am doing the right thing. I would like to ask for your professional advice to solve and issue related to duplicate content. Please visit my site: www.chhedonna.it. The sitemap has indexed 21.890 articles, but if I digit the command 'site:www.chedonna.it', I obtain 158.000 results.I believe that the duplicated content has emerged due to three errors I would like to indicate in order for you to tell me whether my interpretation is correct or not: The article writers made a mistake in that although the content of the articles is different, they have employed the same title for all of them. Therefore, you can see 5 articles with similar/duplicated Tag Titles but the content of said articles is different. For example, http://www.chedonna.it/attualita/cronaca-rosagossip/2012/12/03/heidi-klum-senza-trucco-e-parrucco-foto and http://www.chedonna.it/attualita/cronaca-rosagossip/2012/12/03/heidi-klum-senza-trucco-e-parrucco-foto-2/ are different articles (i.e., the content of the articles is different from each other) that have been published using the same titles. If I inserted the 'follow-noindex' tag to 3 of the 4 duplicates, as shown in the example above, would that be a solution? I fear that if I did insert the follow-noindex, I would cause a drop in the number of impressions visualized by my site's users. It is important to point out, in fact, that I monetize the site via the number of impressions I generate. Therefore, it is fundamental that I do not compromise the number of impressions that the site gets, if I try to optimize it for SEO reasons. On the other hand, I believe that the idea to operate via a 'rel canonical' would not be right, considering that the content of every post having the same title is different, that is, the articles are different even if they focus on the same topic. Also, I would not find it beneficial to use a '301 redirect', since the number of duplicated Titles Tags is very consistent. 2. The second error concerns the duplicate content due to the images that have been included in the articles. For instance, http://www.chedonna.it/che-donna-di-mondo/fare-la-valigia/2012/08/06/campeggio-vacanza-in-liberta/attachment/tenda/ http://www.chedonna.it/che-donna-di-mondo/fare-la-valigia/2012/08/06/campeggio-vacanza-in-liberta/attachment/tenda-2/ http://www.chedonna.it/che-miss/2012/12/04/tatuaggi-fiore-di-loto-significato-e-foto/attachment/tatuaggio-fiore-di-loto-2/ http://www.chedonna.it/che-miss/2013/03/15/tatuaggi-fiore-di-loto-significato-e-foto-2/attachment/tatuaggio-fiore-di-loto-2-2/. I could solve this problem by preventing the media indexing. But I fear that this would produce a very high number of '404 error' messages. If such a thing did happen, my site would stop monetizing overall and I cannot allow this to occur, as you can understand. My very important question is the following: if I prevent the indexing of the photos, will I get in return a drop in the number of impressions that my site would normally generate? 3. Duplicate content generated by the indexing of archive subpages. For example: http://www.chedonna.it/tag/angelica-e-ferdinando/ http://www.chedonna.it/tag/angelica-e-ferdinando/page2/ http://wwwchedonna.it/tag/angelica-e-ferdinando/page3/ If I prevented the media indexing, will I get in return a drop in the number of impressions and many 404 errors? Thank you very much for taking the time to help me sort out this very important issue. Cheers, Sal
Intermediate & Advanced SEO | | salvyy0 -
Are these Bad Internal Links/Anchor Text?
Hi my site www.over50choices.co.uk is 4 months old and I wondered whether my "Quick Links" section (right hand column) on 95% of my pages with the same/similar anchor text was not best practice ie should I vary the anchor text & the target locations more? ( they tend to point to my top 6 pages) They were set up originally to make the customer experience easy to find things but from what i have read Google doesnt like too many links looking the same ! I also have 3 Graphics (cross sales messages) just above the foot of most (not the home page) pages, linking to my 3 key value pages, all with similar Alt Text tags, again should i vary the alt text or is not a good idea to have this type of link on every page? What is best practice, as i am trying to balance the visual/customer experience whilst optimising for search? Thanks
Intermediate & Advanced SEO | | AshShep1
Ash0 -
Should eCommerce Canonicalize to CMS
We have inherited a site that has a Joomla CMS "showroom" front-end and a Magento "store room" for check out etc. Question - As the site's main pages are in the CMS section should we: make all Magento product pages canonical to the main sections/product pages within the CMS (even though there are no duplicate content issues) "No index" the product pages Index but indicate low page value in sitemap Do something else? 🙂 Thanks for any and all input!
Intermediate & Advanced SEO | | TheNorthernOffice790 -
Webmaster Tools Internal Links
Hi all, I have around 400 links in the navigation menu (site-wide) and when I use webmaster tools to check for internal links to each page; some have as many as 250K and some as little as 200. Shouldn't the number of internal links for pages found in the navigation menu be relatively the same? Or is Google registering more internal links for pages linked closer to the top of the code Thanks!
Intermediate & Advanced SEO | | Carlos-R0 -
Linking to Authorities
Hello, I know that if its good for the user, its not a bad move. But for this question I am specifically asking for how it affects my ranking. Does it help my ranking to link to appropriate authority sites?
Intermediate & Advanced SEO | | tylerfraser
Have you done any tests to see if linking out to authoritative sites like .gov info pages, industry leaders, etc. help with a sites ranking. I am thinking about taking of all of these outgoing links and just link to my important pages. Thank you, Tyler0