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
-
Please help need some advice?
Can any of you guys please help me I have alerts on links coming in and it looks like recently someone did this, it looks maliciously done as it is only our domain mentioned and most are brand new posts? http://testosteroneclinicindenve53950.shotblogs.com/testosterone-clinic-in-denver-fundamentals-explained-6102386 http://claytondmnnp.ampedpages.com/Details-Fiction-and-testosterone-clinic-in-denver-16897309 http://vinylvehiclecarwrap38041.alltdesign.com/a-review-of-vinyl-vehicle-car-wrap-9574042 http://devinxccct.educationalimpactblog.com/1784474/little-known-facts-about-vinyl-vehicle-car-wrap http://keeganbsftf.ka-blogs.com/7488539/how-vinyl-vehicle-car-wrap-can-save-you-time-stress-and-money http://andybxoes.thezenweb.com/vinyl-vehicle-car-wrap-Fundamentals-Explained-17581028 http://kylerhfdzu.blogkoo.com/not-known-details-about-vinyl-vehicle-car-wrap-9029141 http://troyytkyn.timeblog.net/7695911/the-greatest-guide-to-vinyl-vehicle-car-wrap http://waylontyzab.pointblog.net/testosterone-clinic-in-denver-Secrets-16335972 http://testosteroneclinicindenve30516.onesmablog.com/Top-testosterone-clinic-in-denver-Secrets-17252737 http://emiliogkmop.blogofoto.com/7667522/top-guidelines-of-testosterone-clinic-in-denver http://caidenaczxt.blogs-service.com/7514172/testosterone-clinic-in-denver-fundamentals-explained http://daltonpyfms.mybjjblog.com/5-simple-statements-about-testosterone-clinic-in-denver-explained-6517932 Should I try to disavow these and submit to google or will google know our site which has been up for 5 years is not doing this? Should I do any of these https://tehnoblog.org/google-webmaster-tools-my-website-got-bombed-with-backlinks-what-to-do/
Intermediate & Advanced SEO | | BobAnderson0 -
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 -
Help... To Optimize Category Page or Not?
My question is about whether to optimize a category page or not, but it’s a rather odd situation. Here’s a bit of background to start. When we relaunched our site, about six months ago, we had primary, secondary, and tertiary categories created. A user could reach all three levels by clicking through the site. Then we decided instead of linking to the tertiary categories, that we’d turn them into filters which can be applied at the secondary level. Thus, there is not actually a direct link to the 3rd level categories on the site. An important side note, I did check and confirm they are still included in the sitemap file. My initial thoughts were to forget any further optimization of those 3rd level categories, but as it turns out we still have rankings for some of them. Now the question… Because some of these pages are ranking and are found in the sitemap, should I include them in my SEO plan to build up and optimize, or because they are no longer linked to directly on the site will they eventually fizzle out (and I shouldn’t do anything further). This is such a unique situation that I am really looking for some insight from the community. Thanks!
Intermediate & Advanced SEO | | M_D_Golden_Peak0 -
Some Tools Not Recognizing Meta Tags
I am analyzing a site which has several thousands of pages, checking the headers, meta tags, and other on page factors. I noticed that the spider tool on SEO Book (http://tools.seobook.com/general/spider-test) does not seem to recognize the meta tags for various pages. However, using other tools including Moz, it seems the meta tags are being recognized. I wouldn't be as concerned with why a tool is not picking up the tags. But, the site suffered a large traffic loss and we're still trying to figure out what remaining issues need to be addressed. Also, many of those pages once ranked in Google and now cannot be found unless you do a site:// search. Is it possible that there is something blocking where various tools or crawlers can easily read them, but other tools cannot. This would seem very strange to me, but the above is what I've witnessed recently. Your suggestions and feedback are appreciated, especially as this site continues to battle Panda.
Intermediate & Advanced SEO | | ABK7170 -
Clean URL help!
Hi all, In short, i'm looking to redirect examplepage.html to examplepage .I've got rid of the .html, sitewide this morning. However I want to redirect Google & people who have bookmarked the old url structure. Currently if you have the extension on or not, it will show in your browser. I'm wanting /examplepage.html to 301 redirect to /examplepage I've gone the normal way I'd do it by adding in .htaccess: Redirect 301 /examplepage.html http://www.example.com/examplepage I'm assuming it isn't redirecting as the example.html page is no longer... what is the way around this? Thanks for any help! In firefox the error of the page is: The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Intermediate & Advanced SEO | | Whittie0 -
Tags, categories or both?
There is so much debate regarding duplicate content, horror stories, losing visitors, being penalized, yada yada... that I am wandering if it's wise to use tags/categories on a WordPress blog. I saw that all major blogs are using these structuring etiquettes and they are all dofollow and meta robots on index, follow. What do you say? It is wise to use tags, categories or both? Should I nofollow them, noindex or follow and index? Or noindex follow? Cheers and thx.
Intermediate & Advanced SEO | | jasmin280 -
Help choosing titles
Good evening guys, I changed my titles last month, in preparation for the over optimisation penalty and the result was an instant and quite dramatic loss in traffic. I believe the reason is, the change resulted in a lot of duplicate titles. My website is similar to deviant art, but for mobile phones. So the titles include the brand of mobile phone for example. The titles were: Upload name + Brand + Content type - 3 tags - FILEID So an example would be Black Nokia wallpaper - black, abstract, grey - 12345 I changed them to Black Nokia wallpaper by artist name on domain name. But this resulted in thousands of duplicate titles and a dramatic loss in traffic. For example a user could upload 20 black wallpapers. With this in mind, I need to change my titles and fast. But I don't want to make another mistake. The one I am quite keen to try is: Black Nokia Wallpaper - Tag1, tag2 wallpapers - on domain name. So the main variable would be the name of the upload and then the 2 tags, to mix things up a little. Another option would be to throw the file ID in there somewhere? As that will always be unique. Perhaps the file ID could be in the place of the "wallpapers" after the two tags? I'd like to keep the domain name, for branding reasons. Any other suggestions are warmly welcomed. Thanks a lot.
Intermediate & Advanced SEO | | seo-wanna-bs0 -
To "Rel canon" or not to "Rel canon" that is the question
Looking for some input on a SEO situation that I'm struggling with. I guess you could say it's a usability vs Google situation. The situation is as follows: On a specific shop (lets say it's selling t-shirts). The products are sorted as follows each t-shit have a master and x number of variants (a color). we have a product listing in this listing all the different colors (variants) are shown. When you click one of the t-shirts (eg: blue) you get redirected to the product master, where some code on the page tells the master that it should change the color selectors to the blue color. This information the page gets from a query string in the URL. Now I could let Google index each URL for each color, and sort it out that way. except for the fact that the text doesn't change at all. Only thing that changes is the product image and that is changed with ajax in such a way that Google, most likely, won't notice that fact. ergo producing "duplicate content" problems. Ok! So I could sort this problem with a "rel canon" but then we are in a situation where the only thing that tells Google that we are talking about a blue t-shirt is the link to the master from the product listing. We end up in a situation where the master is the only one getting indexed, not a problem except for when people come from google directly to the product, I have no way of telling what color the costumer is looking for and hence won't know what image to serve her. Now I could tell my client that they have to write a unique text for each varient but with 100 of thousands of variant combinations this is not realistic ir a real good solution. I kinda need a new idea, any input idea or brain wave would be very welcome. 🙂
Intermediate & Advanced SEO | | ReneReinholdt0