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
-
Totally inaccurate keyword count show on page grader
I've just published a detailed (3000+ words) blog post on AI music and what it means for musicians and artists. It is optimised for the term "AI music" and you can see it here: https://www.scamblermusic.com/ai-music-the-pros-and-cons-explained-by-ai/ When I search the source code of the blog post for "AI music" I see 19 references: code.png When I search the text in the browser window for "AI music" I see 12 references, yet when I run the Moz page grader to check my optimisation Moz downgrades the rating because it's counting 69 keywords: Moz.png I can't work out what Moz is seeing that I am not. Am I missing something really obvious, or is Moz just screwing up (something I haven't seen before with word count)?
On-Page Optimization | | JCN-SBWD0 -
What to do if ranking the wrong KW?
I wrote a blog article targeting a long-tail KW - "[primary KW] pricing revealed". the article is performing so well that is actually ranking 2nd nationally for my primary KW. I would rather have my conversion page rank for my primary KW obviously. I'm considering cutting and pasting the content from my blog page onto my conversion page with a 301 redirect from the blog to the conversion page. What are your thoughts on this? Thanks, Ryan
On-Page Optimization | | RyanMeighan0 -
Too many links per page? Double navigation on every page...
I have a client with navigation across the top of each page plus the same nav links in a sidebar on every page. Can that duplication (or the sheer number of links) on each page have a negative ranking factor?
On-Page Optimization | | brm20170 -
Where to position a new page?
Hi there 🙂
On-Page Optimization | | Enrico_Cassinelli
Our website is about a particular region in Italy, the Langhe area, famous for food and wine (barolo and barbaresco are produced here). We need to rollout a few new pages about cellar/winery tours: one main page with the list of tours, and the various subpages for each tour. We already have a page about travel, and a page about wine (with a sub-page about wineries). The URLs looks like:
langhe.net/travel/
langhe.net/wine/wineries/
(Note: i'm translating from italian here) Now, I'm wondering where is better to position the new pages:
langhe.net/travel/winery-tours/name-of-tour/ or
langhe.net/wine/wineries/tours/name-of-tour/ From an SEO perspective (within my limited experience) the first option has a shorter URL, but the second feels more "natural" to me. What do you think? Thanks 🙂
Best0 -
Description tag not showing in the SERPs because page is blocked by Robots, but the page isn't blocked. Any help?
While checking some SERP results for a few pages of a site this morning I noticed that some pages were returning this message instead of a description tag, A description for this result is not avaliable because of this site's robot.s.txt The odd thing is the page isn't blocked in the Robots.txt. The page is using Yoast SEO Plugin to populate meta data though. Anyone else had this happen and have a fix?
On-Page Optimization | | mac22330 -
Duplicate Page Content
Hi there, We keep getting duplicate page content issues. However, its not actually the same page.
On-Page Optimization | | HamiltonIsland
E.G - There might be 5 pages in say a Media Release section of the website. And each URL says page 1, 2 etc etc. However, its still coming up as duplicate. How can this be fixed so Moz knows its actually different content?0 -
Recommendation: Add a canonical URL tag referencing this URL to the header of the page.
Please clarify: In the page optimization tool, seomoz recommends using the canonical url tag on the unique page itself. Is it the same canonical url tag used when want juice to go to the original page? Although the canonical URL tag is generally thought of as a way to solve duplicate content problems, it can be extremely wise to use it on every (unique) page of a site to help prevent any query strings, session IDs, scraped versions, licensing deals or future developments to potentially create a secondary version and pull link juice or other metrics away from the original. We believe the canonical URL tag is a best practice to help prevent future problems, even if nothing is specifically duplicate/problematic today. Please give example.
On-Page Optimization | | AllIsWell0 -
On Page Optimization Reports
How is it determined which terms and associated urls are chosen when SEOmoz tracks your On-Page Report Card? I'm receiving a lot of F Grades for terms I'm not really interested in and a lot of terms I'd like to be tracked aren't. Is there a way I can manually choose which terms and pages I'd like to be shown?
On-Page Optimization | | ClaytonKendall0