Tracking down rel="canonical" on Wordpress site
-
A rel="canonical" is being added to every page and post on my Wordpress site - not tag results, not category results. Not a major problem, right? Except that I don't know where it's coming from.
I've tried tracking it down - change the theme back to a default one, turn off all the plugins - it's still there. Is it coming from .htaccess perhaps?
The only issue it is causing is that it has causes me to have to turn off the canonical option in Platinum SEO as that was resulting in two identical rel=canon on each page.
It doesn't seem to be causing problem but I'd like to get a better understanding of what it going on.
-
Thanks Donna, I've already tried switching back to the default theme and no difference.
However your link does show that Wordpress itself adds the canonical link to every post and page by default so that'll be where it's coming from, rather than the theme.
Thanks.
-
The canonical might be being added by your theme.
Check out this post (http://www.featheredowl.com/wordpress-duplicate-canonical-link-element/). Read the comments. The post is from 2010 but don’t let that deter you. It could very well be the solution to your problem.
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
Hi, I am a bit confused. A potential clients website has three versions: http://www. http:// http://dev. In each version they have used the rel=canonical back to each base version. So http://www." http://" http://dev." I would have expected duplicate content but I see only one version of the content when I check using "....." in Google. Using the site: tool I see that all three versions are indexed. When moving through the navigation on them, they all redirect to the one home page - the www version. Any idea what is going on and what should be recommended?Redirecting all versions to the www. version? Is it a problem?
On-Page Optimization | | AL123al0 -
Photon for Wordpress experience
Has anyone tried switching on the Photon for Wordpress CDN/image caching feature? If so, did you experience any problems and have you noticed any improvements?
On-Page Optimization | | pugh0 -
Duplicate content "/"
Hi all, Ran my website through the SEOMOZ campaigns and the crawl diagnostics give me a duplicate error for these urls http://www.mysite.com/cat1/article http://www.mysite.com/cat1/article/ so the url with the "/" is a duplicate of the one without the "/" Can someone point me out to a solution to solve this ? regards, Frederik
On-Page Optimization | | frdrik1230 -
Recommended Min Amount of Content for "News" Bulletins
My company often puts out short news bulletins to announce short news updates. We have to write about these topics for our customers and to remain as an industry leader. However, there is not much real and interesting content to write about these topics. What is the minimum length you think these articles should consist of so that Google won't see them as weak/useless pages and possibly give us a Panda penalty for them?
On-Page Optimization | | theLotter0 -
Mentioning own site and keywords on here?
I have noticed that sometimes posters will talk about a site without mentioning what it is. I assume this is because it one of their clients so there is confidentiality, is there any other reason I should be aware of? its just that as I am new I am usually cautious and am considering posting my own site and mentioning all my keywords to ask for people’s verdict for my on-page SEO. Still working on it, will be ready soon, thought I would ask in advance. Regards,
On-Page Optimization | | Zoolander0 -
Site structure question
I'm currently working on a very awkward custom-WP setup, in which I can't maintain the present drop-down navigation menu without having those pages under a parent or without completely recoding everything. I have two requirements, for SEO purposes I'm looking for the following structure for each targeted landing page: www.example.com/landing-page as opposed to www.example.com/sub/landing-page Of course, having my landing pages as a child, I get the latter of the two. For navigational purposes they need to fall under a specific category in a drop-down menu. With any other theme or setup this is an easy fix, but not here. What I have now is that the landing pages are currently placed under a parent category page. But, they have custom permalinks. The permalinks are setup as follows www.example.com/landing-page But, technically the exact structure is still www.example.com/sub/landing-page which then redirects to the custom permalink. So, my question is - in an attempt to get my most important landing pages close to the root for better PR and crawlability, do I still get the same benefit with my current setup? Is this structure I have, better, worse, or indifferent? Thanks.
On-Page Optimization | | JayAdams320 -
Help I don't understand Rel Canonical
I'm really stuck on how to fix up Rel Canonical errors on a Wordpress site. I went in and changed all the URLs to remove the www and added / to the end. I get this message on page analysis details: <dt>Canonical URL</dt> <dd>"http://www.some-url.com.au/",</dd> <dd>"http://some-url..com.au/", and</dd> <dd>"http://some-url..com.au/"</dd> <dd>Well the first one with the www doesn't exists and the second two urls are the same! (Note that I have removed the actual URL for this post)</dd> <dd>I'm not sure how to read and fix the errors from the reports ether. The only issues I can see is that the 'Tag Value' has the www and the 'Page Title - URL' doesn't have the www.
On-Page Optimization | | zapprabbit
</dd>0 -
Implementing rel=canonical in a CMS
Hi Guys, We have an issue with duplicate content caused by dynamic URLs, so want to implement rel=canonical. However this isn't easy due to the way out CMS works. These were pulled from SEOMoz scan: http://www.transair.co.uk/pp+Aerobatics-Training+463
On-Page Optimization | | brightonseorob
http://www.transair.co.uk/pp+Aerobatics-Training+463?page=1&perpage=10&sales_group=NULL&filter_colour=&filter_size=&sortby=RELEV&inStock=NO&resfilter=
and are obviously the same page. As far as I can see I have two options. 1. To implement the canonical meta tag only on page 1. 2. To implement the canonical tag so that I add ?page=X so
http://www.transair.co.uk/pp+Aerobatics-Training+463
would be
http://www.transair.co.uk/pp+Aerobatics-Training+463?page=1 Will this work? Thanks Rob0