"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
-
Next Steps: Following Fixed On-Page Efforts
A client of mine migrated their website from one platform to another. The site is primarily about lead generation. The individual managing the migration did most of the right things: They thinned out poor content, they set up the appropriate canonical tags and 301 re-directs, the did outreach to quality websites providing inbound links and were able to achieve a reasonable level of URL updates to new URL structure, they cleaned up most of the on-page user experience and on-page keyword items (title tags, meta descriptions, HTML/JS/CSS coding, usage of HTML5 structure for headers/body/footers, etc. During the transition, about a dozen primary keyword phrases lost impression and traffic volume - and most likely conversions. A simple analysis showed that the content and on-page elements in these cases were likely muddled with an unclear strategy. Too many different concepts were co-mingled and thus they lost rank on these relevant terms. Working with the client, we've created a few new pages to separate these important concepts, created nice new content and updated all the on-page elements. We've also altered the 301 redirects and canonicals to better associated backlinks to these divided pages. We've also updated the sitemap and submitted. Okay - all sounds good - now my question is: So what? What happens next? Should I request a fetch from Google? Should I run a campaign / article that discusses each of these concepts separately and then point the readers to these pages to drive some traffic to the new pages associated with those keywords? Is that even necessary? How do I get Google/Bing to recognize the client uncovered and repaired their previous error - and how long should this take? Days? Weeks? Months? Thanks
On-Page Optimization | | ExploreConsulting0 -
Rel="canonical" Wordpress 2015 Best Practice
There are forum posts about how to insert rel="canonical" tags in Wordpress, but I've read about lots of changes in this space recently (updates to Yoast, for example). I'm having a problem with duplicate content on one of my sites, and it seems to be coming from multiple indexes of the same pages. I'll have a blog post show up under the posts, then the archives, then the tags. So, my question is, in early 2015, what are the current best practices for adding rel="canonical" tags in Wordpress? Thanks! Tim
On-Page Optimization | | TimLlew0 -
Page authority 1 for new URLs
Hi There Quite a beginner question. I have changed url structure last week and is already avaliable on google.What i find strange is that the PA reported by SEOMOZ is 1 and there's no google cache. If the page has to crawled yet, why it's avaliable on google index already? Dario
On-Page Optimization | | Mrlocicero0 -
Issue: Rel Canonical
My SEO Report shows issues: Rel Canonical I have a wordpress website each page has its content but I'm getting errors from my SEOMOZ report. I instaledl the yoast plug in to fix the issue but I'm still getting 29 errors. Wordpress 3.4.1
On-Page Optimization | | mobiledudes0 -
Would I be safe canonicalizing comments pages on the first page?
We are building comment pages for an article site that live on a separate URL from the article (I know this is not ideal, but it is necessary). Each comments page will have a summary of the article at the top. Would I be safe using the first page of comments as the canonical URL for all subsequent comment pages? Or could I get away with using the actual article page as the canonical URL for all comment pages?
On-Page Optimization | | BostonWright0 -
3 Different Home Page URL's Being Indexed?
Hello Everyone! I own a dog supplies eCom site on the x-cart platform. I recently upgraded to 4.4 version about 3 weeks ago and am noticing 3 different home page URL's getting indexed and ranked: /
On-Page Optimization | | k9byron
/home.php
/home.php?cat= I dont know why this is happening and I dont claim to be an expert SEO but know this cant be good! I am seeing high rankings on certain terms for all 3 URL's. Has anyone seen this before and can anyone give me any feedback on this and how it may be effecting my sites ranking in the future? Thanks in advance!
Byron-0 -
What is the best practice for changing a url of an existing page
I a looking through the on-page SEO reports in SEOmoz for one of my sites. It suggests that I change the url of a particular page to match the desired search term I want to rank for. In this case it is a site for a local business and the url is example.com/testimonials. when it probabaly should have instead been example.com/city-business-reviews. I have just a couple links to this page and I'm stuck towards the bottom of page 1 in the SERPs currently. Questions... 1. Should I change the url to include the exact keyword term I want the page to rank for? 2. If yes, what is the best method to ensure that any existing link juice to the current url is retained? Would I change the url, then create a new page with the old url and apply a 301 redirect to point it to the new page? Thanks!
On-Page Optimization | | fastestmanalive0