Why is On-Page showing canonical wrong?
-
I'm trying to use the On-Page report card and it's saying that my rel=canonical is wrong, I've looked and I can't see anything wrong with it, am I missing something?
-
Thank you your suggestion seems to have fixed it
-
try this generic code:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]Alternatively, try your code but lose the $ at the end of the first line like this:
RewriteCond %{HTTP_HOST} ^www.harrisonlighting.co.uk [NC]
RewriteRule ^(.*)$ http://harrisonlighting.co.uk/$1 [R=301,L] -
Thanks I never noticed that, I don't have a clue how to fix it, if I use non-www it takes me to www which is what it should do but it doesn't seem to work if it's in a product, I've tried adding
RewriteCond %{HTTP_HOST} ^www.harrisonlighting.co.uk$ [NC]
RewriteRule ^(.*)$ http://harrisonlighting.co.uk/$1 [R=301,L]to my htaccess but them the site doesn't work
-
I would take a look at how you're handling redirects. Any page that I remove the www from the URL takes you to the home page and not the www version of the page. That's a huge mistake. I would suggest fixing that right away.
http://harrisonlighting.co.uk/lumigos-princess-candlelight-philips.html
-
Hey, I have just ran that page through the on page optimisation tool and it comes back with no errors, perfect score as it happens. Think it may have just been a bug when you ran it through or some other small problem as it certainly seems fine now.
Marcus
-
It's in the on-page, as part of the critical factors, doesn't really give me a reason for the error it just says
<dl>
<dt>Canonical URL</dt>
<dd>"http://www.harrisonlighting.co.uk/childrens-lights.html"</dd>
<dt>Explanation</dt>
<dd>If the canonical tag is pointing to a different URL, engines will not count this page as the reference resource and thus, it won't have an opportunity to rank. Make sure you're targeting the right page (if this isn't it, you can reset the target above) and then change the canonical tag to reference that URL.</dd>
<dt>Recommendation</dt>
<dd>We check to make sure that IF you use canonical URL tags, it points to the right page. If the canonical tag points to a different URL, engines will not count this page as the reference resource and thus, it won't have an opportunity to rank. If you've not made this page the rel=canonical target, change the reference to this URL. NOTE: For pages not employing canonical URL tags, this factor does not apply.</dd>
</dl>
-
Hey, it looks okay from a quick view at the page you have listed above. What is the error message you are getting?
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
-
Should you do on-page optimization for a page with rel=canonical tag?
If you ad a rel=canonical tag to a page, should you still optimize that page? I'm talking meta description, page title, etc.
On-Page Optimization | | marynau0 -
"Issue: Duplicate Page Content " in Crawl Diagnostics - but these pages are noindex
Saw an issue back in 2011 about this and I'm experiencing the same issue. http://moz.com/community/q/issue-duplicate-page-content-in-crawl-diagnostics-but-these-pages-are-noindex We have pages that are meta-tagged as no-everything for bots but are being reported as duplicate. Any suggestions on how to exclude them from the Moz bot?
On-Page Optimization | | Deb_VHB0 -
On-page report tool
This is a question regarding the advise this tool offer to increase the ranking of a webpage with focusing with a particularly keyword we choose. I give an example: On-page Report Card am checking my keywords and I use. "cleanse london" my surprise is Report card give an "F" for my target landing page http://www.purifyne.com , but the issue is I am already in first place first position. I know SEOmoz know have the algorithm from Google to know how to rank better but my issue is should be a little more accurate! at least. I don't want to be misunderstood here, I just want more guidance, to rank much better using this tool that I am paying for. Any thoughts?
On-Page Optimization | | teksyte0 -
Duplicate Page Content for Product Pages
Hello, We have one website which URL is http://www.bannerbuzz.com & we have many product pages which having duplicate page content issue in SEOMOZ which are below. http://www.bannerbuzz.com/backlit-banners-1.html
On-Page Optimization | | CommercePundit
http://www.bannerbuzz.com/backlit-banners-10.html
http://www.bannerbuzz.com/backlit-banners-11.html
http://www.bannerbuzz.com/backlit-banners-12.html
http://www.bannerbuzz.com/backlit-banners-13.html We haven't any content on these pages, still getting duplicate page content errors for all pages in SEOMOZ. Please help me how can i fix this issue. Thanks,0 -
How to add canonical tag
Hi, I read through many of the forum questions dealing with the overly dynamic URLS and I think I understand. Please let me know if I know what I am talking about: If SEO moz is saying I have 20 pages (mostly search and home/index pages) with overly dynamic urls, I would go to the that particular page and add the following code between the head tag: This code would cause Google to go to this page instead of the following duplicate index pages: 1. http://www.about-sports-collectibles.com/index.php?pcsid=0a83aa7119cf3d80a1d018634ec4ec94&p 2. http://www.about-sports-collectibles.com/index.php?pcsid=18b220fc62628b013a51c6f26209df50&p There are a total of about 8 of these index pages. The problem is that I can't figure out where I would access each of these duplicate pages to add the canonical tag. There is only one home page with coding. As far as the search pages are concerned, I would not want Google to follow those pages would I? If that is the case, what would be the best code to add between the tags? For instance here are a couple of the overly-dynamic URL pages for the search pages: 1. http://www.about-sports-collectibles.com/index.php?p=catalog&mode=search&search_in=all&search_str= 2. http://www.about-sports-collectibles.com/index.php?pcsid=50354d5791e627dc2be6c86528154a5e&p=catalog&mode=search I hope I am not overwhelming anyone with my questions. I really am trying to get a handle on how Ll this stuff works. Thanks so much the help. Don
On-Page Optimization | | ge01734001 -
2 canonical tags on the same page
When using the 'on-page optimizer' tool, I continue to get the same recommendation on every page to only use 1 canonical tag on the page. I'm not sure why there are 2 tags on each page in the first place so I don't know how to remove the one that's not needed. Our site is on a WP blog and a sample page to view the source code would be: http://www.shilohstreet.com/blog/is-flipping-houses-smart-real-estate-investing.html Does anyone know why this is happening, how to fix it and/or if I should even be concerned with it? Thanks!
On-Page Optimization | | shilohstreet0 -
Google is indexing spam pages from my site. What is the most effective way to get ride of the search results? Pages are deleted now but should I do something more?
A long time ago I created a forum (Invision Power Board) and it got full of spam. Massive amounts! /forum/ I've now deleted the forum but the spam pages are still indexed on Google. Can I do something else to hurry up the process to get ride of them?
On-Page Optimization | | ocarlsson0 -
Why has only one page been crawled?
I went over the list of possible reasons, but I don't think any of them apply to the site in question: sarahhueniken.com. Any other reasons only one page would be crawled?
On-Page Optimization | | scottsemple0