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
-
Will adding canonical affect traffic to the non canonical page?
We have three URLs that have the same content but all three are getting traffic.
On-Page Optimization | | NanditaKraman1 -
To avoid the duplicate content issue I have created new urls for that specific site I am posting to and redirecting that url to the original on my site. Is this the right way to do it?
I am trying to avoid the duplicate content issue by creating new urls and redirecting them to the original url. Is this the proper way of going about it?
On-Page Optimization | | yagobi210 -
Site IA considering a "Resources" section
I'm working on a resources section for our website and I'm wondering the best way to handle my sites information architecture. The resources section houses things like webinars (both upcoming and recorded), case studies, ebooks, etc. Should things like webinars and case studies be considered supporting content to our main topics? For example we have a product that manages Rebates. So we have a page on our site dedicated to "Rebates". Would a webinar or case study about our Rebates software be grouped with "Rebates" or would it be grouped by content/resource type? So for example a breadcrumb could look like this: Home > Rebates > Rebates Webinar or Home > Webinars > Rebates Webinar Thanks in advance!
On-Page Optimization | | Brando160 -
Rel=canonical vs noindex/follow - tabs with individual URLs
Hi everyone I've got a situation that I haven't seen in quite this way before. I would like some advice on whether I should be rel=canonicalzing of noindexing/following a range of pages on a clients website. I've just started working on a website that creates individual URLs for tabs within each page which has resulted in several URLs being created for each listing: Example URLs: hotel-downtown-calgary hotel-downtown-calgary/gallery?tab hotel-downtown-calgary?tab hotel-downtown-calgary/map?tab hotel-downtown-calgary/facilities?tab hotel-downtown-calgary/reviews?tab hotel-downtown-calgary/in-the-area?tab Google has indexed over 1500 pages with the "?tab" parameter (there are 4380 page indexed for the site in total), and also seems to be indexing some of these pages without the "?tab" parameter i.e. ("hotel-downtown-calgary/reviews" instead of "hotel-downtown-calgary/reviews?tab") so the amount of potential duplication could be more. These tabbed pages are getting minimal traffic from organic search, so I've got no issues with taking them out of the index - the question is how. There are the issues I see: Each tab has the same title as the other tabs for each location, so lots of title duplication. Each individual tab doesn't have much content (although the content each tab has is unique). I would usually expect the tabs to be distinguished by the parameters only, not have unique URLs - if that was the case we wouldn't have a duplication issue. So the question is: rel=canonical or noindex/follow? I can see benefits of both. Looking forward to your thoughts!
On-Page Optimization | | Digitator0 -
2 Canonical questions
QUESTION 1
On-Page Optimization | | Marketing_Today
I'm working on a site where a canonical link is implemented as That's not the normal format that I am used to, as I would have written it as Is that a problem? QUESTION 2
Why do so many sites these days have a sitewide canonical tag which refers to itself as the canonical?
For example: http://www.site.co.uk/page has a canonical of0 -
Recommended Length for a Companies "Services" Page Content
I am in the process of revamping my company's website. I do WordPress Development, Design, and SEO consulting, and i'm running into a sort of writer's block when wring my services pages. For example, my page on WordPress Security has 388 words of "body" content, and I feel from a content perspective, it serves it's purpose, but from an SEO perspective it is considered a little light. I really don't know what the SOP is here, because, I've literally seen competitors sites have a page on "WordPress Security" rank on the first page of Google with absolutely no content, an empty page. I see a lot of the Moz posts are huge, thosands of words, and I know they perform very well (and they also have ton's of links / PR...etc) and I just want to do the right thing. I know sites like http://www.seerinteractive.com/our-services/search-engine-optimization have relatively short info pages as well. Thanks in advance for your feedback. Zachary Russell President, ProTech Internet Group
On-Page Optimization | | Zachary_Russell0 -
Canonical Tag for Ecommerce Site
I implemented a canonical tag on each product page for my clients ecommerce site and my rankings tanked. Has this happened to anyone else? If so, when can I expect rank to return?
On-Page Optimization | | DynoSaur0 -
Is it a good idea to rel=canonical dozens of old outdated pages?
we have dozens old outdated manual pages that still need to be up, but have terrible code issues (they're exported from word) and no image tagging, etc. there are new pages in place, so should i rel=canonical to the new pages? will this transfer any link juice to the newer, more seo-friendly ones?
On-Page Optimization | | DerekM880