"On Page" report says 2 rel canonical urls-how do I fix that?
-
I am reviewing my On Page scores and I'm not getting a perfect score bk of this notice:
No More Than One Canonical URL Tag
Moderate fix
<dl>
<dt>Number of Canonical tags</dt>
<dd>2</dd>
<dt>Explanation</dt>
<dd>The canonical URL tag is meant to be employed only a single time on an individual URL (much like the title element or meta description). To ensure the search engines properly parse the canonical source, employ only a single version of this tag.</dd>
<dt>Recommendation</dt>
<dd>Remove all but a single canonical URL tag</dd>
<dd>HOW do I fix that?</dd>
<dd>I am using Platinum seo plugin which I have checked "Use canonical urls" and the page in question is</dd>
<dd>http://adderalldosage.net/general-adderall-dosage/</dd>
</dl>
-
Thank you both! So wordpress is generating one and platinum seo is too. I'm going to try this entry into the themes' function.php:
# Remove WordPress' canonical links remove_action('wp_head', 'rel_canonical');
Fingers crossed...!
-
Hi,
Your problem is very easy to solve. When I look in to your source of your page. I can see those 2 canonical urls.
The first one is on line number 13 and the second one is on line number 19 (See attached image)
For you, I think the easiest one to remove is the 1st link, That means find the code to generate the 1st canonical url to generate on line number 13 and simply remove that code or change the code as suitably.
It will solve your issue.
Regards
Prasad
-
You do indeed have 2 rel=canonical links on that page.
It looks as though Platinum SEO plug in is adding one in (its situated withing the
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
-
Keyword ranking for different page than the page optimized
I have optimized "equipment trailer for rent" on this page: http://www.bigtrailerrentals.com/flatbed-trailer-rentals/equipment-deckover. I'm wondering if anyone can tell me why Google has chosen to rank the keyword phrase for this page: http://www.bigtrailerrentals.com/flatbed-trailer-rentals/equipment-24 This is just one example. It has happened on several of my pages / keywords.
On-Page Optimization | | BigTrailerRentals0 -
Should we rename and update a page or create a new page entirely?
Hi Moz Peoples! We have a small site with a simple site navigation, with only a few links on the nav bar. We have been doing some work to create a new page, which will eventually replace one of the links on the nav bar. The question we are having is, is it better to rename the existing page and replace its content and then wait for the great indexer to do its thing, or perm delete the page and replace it with the new page and content? Or is this a case where it really makes no difference as long as the redirects are set up correctly?
On-Page Optimization | | Parker8180 -
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 -
What does Google consider a "Duplicate Title Tag?"
Do the title tags have to be exactly the same, or can they have some of the same keywords but different context? Hypothetical example: Home Page = Raising a Kitten, Tips & Tricks for a Healthy Cat Sub-Page = How to Cat-Proof your Home when Raising a Kitten Since both title tags has "raising a kitten," "cat" and "tips" would this be considered a "Duplicate Title Tag" even though the pages have completely different content in them? Thanks in advance!
On-Page Optimization | | Scratch_MM0 -
Trying to run page reports, but the system will not grab the latest changes to grade ?
I am trying to improve my page grades, however the system seems not not grab the latest updated fixed page, Please help. My Page is : http://pizza.codiedog.com/Best-Italian-Restaurant-in-San-Diego/index.shtml
On-Page Optimization | | dennislanglais0 -
Can we listed URL on Website sitemap page which are blocked by Robots.txt
Hi, I need your help here. I have a website, and few pages are created for country specific. (www.example.com/uk). I have blocked many country specific pages from Robots.txt file. It is advisable to listed those urls (blocked by robots.txt) on my website sitemap. (html sitemap page) I really appreciate your help. Thanks, Nilay
On-Page Optimization | | Internet-Marketing-Profs0 -
Rel=canonical Query
Hello Everyone, We have just launched our new ecommerce site for flooring in the UK. I have run through the first crawl and there are 549 instances of rel=canonical including the homepage? Is this a major issue in any way, i have never had to tackle it before and i would appreciate any advice that could be offered on the subject. Many Thanks Andrew
On-Page Optimization | | DFD20120 -
Page URL Hiearchy
So I have read on here that page URL Hiearchy is important. My question is from a search engine standpoint which of the following methods would be the best to use (or another if not listed) COMPACT and naturally hierarchical MountainBiking.com MountainBiking.com/adventures ( a list of the pages below ) MountainBiking.com/adventures/in whistler (for each page) MountainBiking.com/adventures/in utah OR VERBOSE but reptetive MountainBiking.com MountainBiking.com/Mountain Biking adventures ( intro + a list of the pages below ) MountainBiking.com/Mountain Biking Adventures/Mounting Biking adventures in whistler MountainBiking.com/Mountain Biking Adventures/Mountain Biking Adventures in Utah It seemed like the blog I read suggested the compact form, but it seems to me that the verbose (though admittedly a bit clunky) seems better so far as exact keyword match etc. Experience and or advice on this?
On-Page Optimization | | bThere0