"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
-
Is it better to shorten my existing url to use only keyword after domain with a 301 redirect from existing url
I have a long existing URL that has included my key word but the url has about 5 additional words in the text ( eg url would have " /super widgets in stock at the widget store " as url text after domain. keywords is super widget The URL was at the top of search results for my keyword for many years until recently. Is it better to shorten my url text to now use only my keyword " /super-widgets " after the domain with a 301 direct from my existing url to optimize it Thanks
On-Page Optimization | | mrkingsley2 -
Does Rel=canonical affect google shopping feed?
I have a client who gets a good portion of their sales (~40%) from Google Product Feeds, and for those they want each (Product X Quantity) to have it’s own SKU, as they often get 3 listings in a given Google shopping query, i.e. 2,4,8 units of a given product. However, we are worried about this creating duplicate content on the search side. Do you know if we could rel=canonical on the site without messing with their google shopping results? The crux of the issue is that they want the products to appear distinct for the product feed, and unified for the web so as not to dilute. Thoughts?
On-Page Optimization | | VISISEEKINC0 -
Can "window.location" javascript on homepage affect seo?
Hi! I need to add a splashpage to my wordpress site. I use "window.location" javascript on the homepage to redirect on the splashpage (controlled by cookie to redirect only for the first access). Can this technique affect the SEO on homepage? Thanks in advance!
On-Page Optimization | | StudioCiteroni0 -
Rel Conical - Mobile page
I have two pages that have essentially the same content, same page title etc. however one is the mobile version of the other. Is it appropriate to use the rel canonical tag with these two pages? So the pages are: www.example.com/product www.example.com/mobile/product If rel canonical is not appropriate what, if anything should I do?
On-Page Optimization | | cbarron0 -
Changing a page url
I have a page that ranks well (#4) for a good keyword. However, the url has the keyword in it but is misspelled. I would like to change the url to have the correct spelling but do not want to lose the ranking that I have. What is the best and safest way to proceed?
On-Page Optimization | | bhsiao0 -
My website is saying I have duplicate page content and page title. How do I fix it?
Hi, I created a website on webstarts.com. After I launched it then ran a scan through SEO it says I have duplicate page content and page title. The 2 pages it is reading are technically the same page. www.mobilemowermedicsinc.com and www.mobilemowermedicsinc.com/index . I am unsure how to get rid of on of these as it keeps saying this is an error in the SEO scan. Could someone please advise me of what to do from here. Thanks!
On-Page Optimization | | bcarp880 -
Does having a "+" in a URL hurt SEO? Would much value be gained changing it to a hyphen?
There's a site that contains "+" signs in the URL in order to call different information for the content on the page. Would it be better to change those to hyphens (-), or not that much value will be gained, so leave them as is? Thanks!
On-Page Optimization | | MitchellStoker0 -
Why isn't SEOMoz using File Extensions (*.html etc) on any of their web page URLs?
...and what is the SEO benefit of this? This video from Matt Cutts suggests using file extentions, except for a directory.
On-Page Optimization | | magicrob0