Help with canonical tag
-
hello-
i got this recommendation
<dl>
<dt>Recommendation</dt>
<dd>Add a canonical URL tag referencing this URL to the header of the page</dd>
<dd>from my "report card" and i see also that i have a lot of issues with duplicate content but i really dont have any duplicate content on my site.</dd>
<dd>the crawl has apparently marked every post in my blog as duplicate page content.</dd>
<dd>and the "use canonical tag" suggestion keeps appearing as a fix to my problems.</dd>
<dd>could you please help me with ------How do i create a canonical tag?</dd>
<dd>is it just rel=canonical?</dd>
<dd>and where do i put it?</dd>
<dd>i should put it on every page right?</dd>
<dd>or with CSS my webmaster could probably do it very quickly right?</dd>
<dd>i get the basic concept behind rel=canonical but i cant say i fully understand it -</dd>
<dd>i need some help with regard to how and where this tag should be placed.</dd>
<dd>thanks,</dd>
<dd>erik
</dd><dd>.</dd>
</dl>
-
Yes as long as the "www" is included in the URL of the canonical tag.
-
i hadnt realized this question was answered - i actually forgot i ever asked it - but thank you for the reply - when i use rel=canonical am i telling the SE's that i prefer www. ?
if the answer is yes - then i am all set - and the confusion is over
-
Hey Erik,
This is probably due to URLs of the form http://domain.com not being 301ed to http://www.domain.com.
Depending on how your site was created (e.g. dynamic, static, CMS), it maye be easier to place 301 redirects in your configuration (Assuming you are using Apache, but should be possible in any Web Server). If that is not possible, and you are using a dynamic language for your site, like PHP, you can place 301 redirect code there. Short of these things, you can do as the tool suggested, and create Canonical tags.
-
Hi Erik.
For an example of the canonical tag, right click on this thread's page, choose View Page Source, and look at the top of the document. About the sixth line down you will see a line of code which reads as: . You will also notice the URL of this page matches exactly with that portion of the URL. The code which adds the http://www.seomoz.org prefix is located elsewhere in the code.
I would recommend every page of your site have a canonical tag added. It goes in between the tags of your page's HTML code.
The idea is that there are multiple ways to get to the same page. For example, you can reach this page by typing in "http://www.seomoz.org/q/help-with-canonical-tag" or "http://seomoz.org/q/help-with-canonical-tag" into your browser. Which page is the correct URL? The www version? or the version without the www?
By adding a canonical to your page, you are telling search engines which version you prefer for your site.
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
-
Topics and H tag
Hello, Is it ok to talk about multiple topics under an H tag or should I stick to 1 topic per H tag. Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
Language Tunnel - Help!
Hi, First post here. A few months back (before they were my client), my client updated their site to include a language tunnel. It looks like some other updates were made as well to "prettify" the site's URLs. Unfortunately, after this update, lots of well-ranking landing pages are now completely gone with no redirects in place. Normally, I would just give them a list of these old pages and say "301 Redirect" to X page. However, as part of this site update, they added country code into the mix. So now, instead of just 6 or 7 languages, we are looking at 30-40 permutations of language and country (with some countries having multiple languages). The functionality of the new site is fine, but all of the old 404s are not being kind to the search engine traffic. My question is: what's the best way to resolve this problem? These old pages usually specify a language code (but no country code). So, for example, I am thinking of redirecting all of the Spanish 404 urls to a Spanish "country tunnel". However, this is obviously not the same as what we had before, where the actual pages were indexed. Since my old pages no longer exist and I've got this country problem now (to stand in the way of a straightforward redirect), is there any way to appease the SEO gods on this?
Intermediate & Advanced SEO | | navdm0 -
Adding Canonical Tags in WYSIWYG Section of Subscription Based Sites
Our company has a paid subscription-based site that only allows us to add HTML in the WYSIWYG section, not in the backend of each individual page. Because we are an e-commerce site, we have many duplicate page issues. Is there a way for us to add or hide the canonical code in the WYSIWYG section instead of us having to make all of our pages significantly different?
Intermediate & Advanced SEO | | expobranders0 -
Hreflang Tags & Canonicals Being Used
We have a site on which both hreflang tags and canonicals are being used. There are multiple languages, but for this I'll explain our problem using two. There are a ton of dupe page titles coming up in GSC, and we're not sure if we have an issue or not. First, the hreflang tags are implement properly. UK page pointing there, US page pointing there. Further down the page, there are canonical tags - except the UK canonical tag points to the UK page, and the US version points to the US page. I'm not sure if this will cause an issue in terms of SEO or indexing. Has anyone experienced this before or does anything have any insight into this? Thanks much! Matt
Intermediate & Advanced SEO | | Snaptech_Marketing0 -
Can anyone see any issues with the canonical tags on this web site?
The main domain is: http://www.eumom.ie/ And these would be some of the core pages: http://www.eumom.ie/pregnancy/ http://www.eumom.ie/getting-pregnant/ Any help from the Moz community is much appreciated!
Intermediate & Advanced SEO | | IcanAgency0 -
Canonical tags required when redirecting?
Hello, My client bought a new domain and he wants it to be the main domain of his company. His current domain though has been online for 10 years and ranks pretty well on a few keywords. I feel it is necessary to redirect the old domain to the new one to take advantage of its ranking and avoid any broken links. The sites are exactly the same. Same sections and same content. Is it necessary to place canonical tags on one of the sites to avoid duplicate content/sites? Any thoughts? Thanks
Intermediate & Advanced SEO | | Eblan0 -
Are pages with a canonical tag indexed?
Hello here, here are my questions for you related to the canonical tag: 1. If I put online a new webpage with a canonical tag pointing to a different page, will this new page be indexed by Google and will I be able to find it in the index? 2. If instead I apply the canonical tag to a page already in the index, will this page be removed from the index? Thank you in advance for any insights! Fabrizio
Intermediate & Advanced SEO | | fablau0 -
Will the Canonical tag fix this issue?
I recently joined promoz and I've been busy working through the issues raised brought to light during the crawls of our Magento site, www.unitedbmwonline.com. One of many issues were the 10,000+ Duplicate Page Titles which I believe are the result of not using Canonical tags when setting up the store. This is now corrected and hopefully I'll see a significant drop in this value after this next crawl. Am I correct in this assumption? Cheers, Steve
Intermediate & Advanced SEO | | SteveMaguire0