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
-
Keyword ranking for different page than the page optimized
I have optimized "equipment trailer for rent" on this page: http://www.bigtrailerrentals.com/flatbed-trailer-rentals/equipment-deckover. I'm wondering if anyone can tell me why Google has chosen to rank the keyword phrase for this page: http://www.bigtrailerrentals.com/flatbed-trailer-rentals/equipment-24 This is just one example. It has happened on several of my pages / keywords.
On-Page Optimization | | BigTrailerRentals0 -
Is it better to keep a glossary or terms on one page or break it up into multiple pages?
We have a very large glossary of over 1000 industry terms on our site with links to reference material, embedded video, etc. Is it better for SEO purposes to keep this on one page or should we break it up into multiple pages, a different page for each letter for example? Thanks.
On-Page Optimization | | KenW0 -
Using Canonical Tags on Every Page
I'm doing competitive research and noticed that one of our competitors (who outranks us) uses canonical tags on every page on their site. The canonical tags reference the page they are on. For example. www.competitor.com/product has a canonical tag of www.competitor.com/product. Does anyone use this practice? It seems strange to me. Thank you, Kristen
On-Page Optimization | | Ksink0 -
Home Page Keywords not Ranking and Assigned to Inside Pages
Hi, thank you for taking the time to read this. We have a few websites with the same problem. I will use http://www.prepared-meals.com as an example: The home page was ranking on page one for keyword "Prepared Meals". The site is about 6 months old. We use the Moz page optimizer on all pages of our websites to score an A rating. Recently we found the home page is no longer showing up in search results and the keyword "prepared meals" now points to an inside page that is not relevant: http://www.prepared-meals.com/Senior-Meals/Moms-Meals-Reviews.html this page shows up for Prepared Meals around page 15 in Google results. We have read keywords in the URL might be the issue, even though the page optimizer in MOZ says to do that. We are wondering if this is the issue or there is some other problem we are not aware of. Again, thank you for you for your time. -Craig
On-Page Optimization | | CraigSWD0 -
Locating Duplicate Pages
Hi, Our website consists of approximately 15,000 pages however according to our Google Webmaster Tools account Google has around 26,000 pages for us in their index. I have run through half a dozen sitemap generators and they all only discover the 15,000 pages that we know about. I have also thoroughly gone through the site to attempt to find any sections where we might be inadvertently generating duplicate pages without success. It has been over six months since we did any structural changes (at which point we did 301's to the new locations) and so I'd like to think that the majority of these old pages have been removed from the Google Index. Additionally, the number of pages in the index doesn't appear to be going down by any discernable factor week on week. I'm certain it's nothing to worry about however for my own peace of mind I'd like to just confirm that the additional 11,000 pages are just old results that will eventually disappear from the index and that we're not generating any duplicate content. Unfortunately there doesn't appear to be a way to download a list of the 26,000 pages that Google has indexed so that I can compare it against our sitemap. Obviously I know about site:domain.com however this only returned the first 1,000 results which all checkout fine. I was wondering if anybody knew of any methods or tools that we could use to attempt to identify these 11,000 extra pages in the Google index so we can confirm that they're just old pages which haven’t fallen out of the index yet and that they’re not going to be causing us a problem? Thanks guys!
On-Page Optimization | | ChrisHolgate0 -
Rel canonical Issue
I have a huge rel canonical issue showing up on my website, and I'm not sure that I fully understand why. To my knowledge, this is something that comes about when alternate urls are used to link to the same page. However, this is not a technique that I've used with my website, yet it's still raising a flag on just about every page. http://bit.ly/jYyTYN Can anyone enlighten me on what's causing this? Thanks
On-Page Optimization | | JayAdams320 -
Is it a good idea to rel=canonical dozens of old outdated pages?
we have dozens old outdated manual pages that still need to be up, but have terrible code issues (they're exported from word) and no image tagging, etc. there are new pages in place, so should i rel=canonical to the new pages? will this transfer any link juice to the newer, more seo-friendly ones?
On-Page Optimization | | DerekM880 -
Canonical links
My website is relatively new, January. We climbed steadily to 6th for our search term then overnight rocketed to 1st. This only lasted a week and have been stuck at 9th ever since. When I use the SEO Moz tools our site should theoretically be top...I only joined today btw. Anyway in Google webmaster tools I noticed it said I had duplicate title tags, when I checked to see what the pages were- it was my home page! Google also seems to have cached two versions of our homepage, the root domain and the Default.aspx page. Now I have fixed this canonical linking issue today (using canonical link tag and 301s) so time will tell but has anyone got any first hand experience of this issue? Was it a big factor? Thanks!
On-Page Optimization | | SplashBacksNI0