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
-
Pages Not Showing Up In Search After Being Indexed....
Hello, I'm trying optimize my google search for local business in Fort Myers, FL area. I've created specific keywords that people are searching and have made my page title and on-page experience reflect this relevency. However, the page isn't appearing anywhere on google search even though search console has stated that the page has been indexed. My question is, how do I trouble shoot this so that I can appear in local search for these search terms?
On-Page Optimization | | scottgray06200 -
New Page Not ranking?
One of this client's top keyword is "oak beams". They already rank well in the UK for other related terms like "reclaimed oak beams" at /reclaimed-oak-beams/ and "air dried oak beams" at /air-dried-oak-beams/ We have created a page at /oak-beams/ but this page ranks nowhere? Instead the reclaimed oak beams or air dried oak beams page ranks for the term "oak beams". Any ideas why Google is swapping between those pages and not choosing the /oak-beams/ page? A few notes are that the /oak-beams/ page is newest page on the site and yes I know there are no links pointing to it but there are no links pointing to the other pages either?
On-Page Optimization | | Marketing_Today0 -
Category listing page coming above product pages
A new SEO client we have taken on seem to be hitting most of the points right on with their site and SEO. However one thing that is bugging me is that their category pages i.e. "Footwear" which title tag includes the brands they stock. Is almost always coming up above (if they are ever even found) the product individual pages. Anyone seen this sort of things happening? Very frustrating.
On-Page Optimization | | iboxsecurityltd0 -
Duplicate Page Title
I have a dating site, it's got a lot of duplicate page titles, most of them are the language buttons for the users to view the site in there language. but I think it's obvious that the buttons don't have anything to do with it. I'm thinking that page tittle is basically a description of what the site is. like for an example "online-dating" is this it? please tell me in terms for a dummy, how to fix it.
On-Page Optimization | | clickit2getwithit0 -
Break-up content into individual pages or keep on one page
I am working on a dental website. Under menu item "services" lists everything he does like.. Athletic Sports Guards
On-Page Optimization | | Czubmeister
An athletic sports guard is a resilient plastic appliance that is worn to protect the teeth and gum tissues by absorbing the forces generated by traumatic blows during sports or other activities. Digital X-Rays We use state of the art digital x-rays and digital cameras to help with an accurate diagnosis of any concerns. Digital Imaging On initial visits, and recall visits, we take a series of digital photographs to aid us in diagnosis as well as to give you a close-up view of your mouth and any oral conditions. Smile Makeovers
We offer a number of different options including bleaching, bonding, porcelain veeners, and in some cases, implants and/or orthodontic care is utilized in our smile makeover planning. Nitrous oxide for your Comfort Would it be better to break these services up into individual pages? I was thinking I would because then I could add more pictures and expand on the topic and try to get an "A" grade on each page. I'm not sure how I could rank a page if I have 35 services listed on the page. That would be an awfully big H1! Suggestions?0 -
Internal Linking - Same page
Is there any benefit in internally linking back to the same page? I have no other relevant pages in the site I can link to so wondering if it's worthwhile to use anchor text to link back to the same page?
On-Page Optimization | | Will_Craig0 -
Ranking for specific pages
HI, Lets say my website is abc.com and my targeted keyword is abc for index page. Internal pages, like abc.com/apple.htm, abc.com/banana.htm. The targeted keyword for apple.htm is fresh apples, buy apples, and for banana.htm, fresh banana, buy banana. How to define these keywords in the campaign. Please suggest. Thanks.
On-Page Optimization | | younus0 -
Page title
So if we have a main category page on our site (mines an ecommerce site), do we go for more than that main keyword phrase for that category of products, or is it better to just keep it by itself, and not utilize the 65-70 characters available?
On-Page Optimization | | azguy0