Help I don't understand Rel Canonical
-
I'm really stuck on how to fix up Rel Canonical errors on a Wordpress site. I went in and changed all the URLs to remove the www and added / to the end.
I get this message on page analysis details:
<dt>Canonical URL</dt>
<dd>"http://www.some-url.com.au/",</dd>
<dd>"http://some-url..com.au/", and</dd>
<dd>"http://some-url..com.au/"</dd>
<dd>Well the first one with the www doesn't exists and the second two urls are the same! (Note that I have removed the actual URL for this post)</dd>
<dd>I'm not sure how to read and fix the errors from the reports ether. The only issues I can see is that the 'Tag Value' has the www and the 'Page Title - URL' doesn't have the www.
</dd> -
Yeah, unfortunately, on a CMS or template-driven site, it's really easy to put a canonical tag in place that impacts the wrong pages. Hopefully, you caught it in time.
The 270 notices in are system are just telling you that 270 URLs we crawled had a canonical tag pointing to a different page. In this particular case, it was a problem, but it isn't always an issue.
Unfortunately, with the bad canonical tag in place, it's tough to tell why they were there before. This is usually just a notice, and non-critical, but once the bad canonicals clear out, let us know if you're still getting the notice (it may take a couple of weeks to go away).
-
I think I know what I have done wrong. I placed this code line in the header instead of the index:
I only did this last week, so hopefully the damage won't last long. I still don't understand the 270 Rel Cononical errors, because they were already there. Is this a Wordpress problem?
-
I just checked, and it actually looks like you've got a potentially serious problem. All of your canonical tags that I've seen are pointing to the home-page, even archives and blog posts. This will essentially de-index those pages. Something is set up badly - that canonical tag should only appear on the actual home-page.
Since this is public, I won't reveal details, but look at the, for example, the canonical tag on your "About" and "Services" pages - they're pointing to the home-page.
-
So whats the best way to fix the 270 Rel Cononical errors? How do I actually tell Google what URL is the same pages as another URL?
-
The basic problem, and it's actually confusing to a lot of people, is that what you think of as a "page" is the physical file on your server (like your home-page). What Google thinks of as a page is a URL. So, if multiple URLs go to the same place, they look like duplicate copies to Google (who sees them as all different pages).
It's especially common with home-pages, where you can have www vs. non-www, root ("www.example.com") vs. the filename ("www.example.com/index.php"), etc. If those variations get crawled and indexed by Google, the duplicates can dilute your index and weaken your ranking ability. So, rel-canonical helps tell Google that those variations are all the same page.
-
Zapprabbit,
I would like to underline the main reason of canonical tag usage.
We use canonical to eliminate duplicate content which is cause by different paths to the same content.
In order to eliminate this, you point out to search engines which of the paths is the one that you are optimizing for (which path you want to be indexed).
So let's take your example:
<dd>"http://www.some-url.com.au/",</dd>
<dd>"http://some-url..com.au/", and</dd>
<dd>"http://some-url..com.au/"</dd>
All of the above are different versions of the index.php (wordpress), right?Ok so you have the following:Index.php is shown as:
- http://www.some-url.com.au
- http://www.some-url.com.au/
- http://www.some-url.com.au/index.php
- http://some-url.com.au
- http://some-url.com.au/
- http://some-url.com.au/index.php
all the links above are different paths for Search Engines.
Now you put a canonical tag into the header of index.php which point out for "www.some-url.com.au". What happens?
Search Engines now crawl all versions of your index.php, but they know that they only need to index one version: www.some-url.com.au
What happens from link juice point of view?
If people will start linking to http://some-url.com.au/ or http://www.some-url.com.au/index.php or any other version of your index.php file the link juice will be targeted to the canonical version in some portion (aprox. 85% because you will loose some "juice").
I hope that is clearer now
Gr.,
Istvan
-
The bit I'm stuck on is what am I looking for when I click on the Cannonical URL Tag?
Duplicated URLs? Too many URLs pointing to the same place?
I know I must sound stupid but I just can't get my head around the problem.... Any pointers?
-
Hi Zapprabbit, For you to understand the Rel Cannonical errors you must visit the Cannonical URL Tag.
In wordpress these cannonical url errors are fixed up with all in one seo wordpress plugin.
I hope that your query had been solved.
-
Hi Zapprabbit,
You have the following issue:
1. You didn't proper place the canonical
2. you miss the non www. -> www. 301 redirect
So let's take it step by step:
1. Canonicals: In order to have the chance to set the canonicals right, I would advice you to use the Yoast WP plugin. On the same page you will have how-to articles and usage tips for the plug-in.
2. 301 redirect: http://www.webconfs.com/how-to-redirect-a-webpage.php
This should solve your issue.
Gr,
Istvan
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
-
Wordpress 'Hide Title' Feature, does this help shorten title length
Im wondering if anyone with some Wordpress experience can help me. I am using Yoast to create my page titles, but yet Moz tells me that my page titles including my actual page title tag which is 'dumfries wedding photography | Hemera Visuals' by clicking on the 'hide title' feature in wordpress will this in turn stop wordpress from automatically adding my page title and therfor bring my title length down drastically? And if so will I have to wait till google next crawls my page to see if this works? Kind Regards Cameron.
On-Page Optimization | | hemeravisuals120 -
Content hidden behind a 'read all/more..' etc etc button
Hi Anyone know latest thinking re 'hidden content' such as body copy behind a 'read more' type button/link in light of John Muellers comments toward end of last year (that they discount hidden copy etc) & follow up posts on Search Engine Round Table & Moz etc etc ? Lots of people were testing it and finding such content was still being crawled & indexed so presumed not a big deal after all but if Google said they discount it surely we now want to reveal/unhide such body copy if it contains text important to the pages seo efforts. Do you think it could be the case that G is still crawling & indexing such content BUT any contribution that copy may have had to the pages seo efforts is now lost if hidden. So to get its contribution to SEO back one needs to reveal it, have fully displayed ? OR no need to worry and can keep such copy behind a 'read more' button/link ? All Best Dan
On-Page Optimization | | Dan-Lawrence0 -
Moz Crawl Shows Duplicate Content Which Doesn't Seem To Appear In Google?
Morning All, First post, be gentle! So I had Moz crawl our website with 2500 high priority issues of duplicate content, not good. However if I just do a simple site:www.myurl.com in Google, I cannot see these duplicate pages....very odd. Here is an example....
On-Page Optimization | | scottiedog
http://goo.gl/GXTE0I
http://goo.gl/dcAqdU So the same page has a different URL, Moz brings this up as an issue, I would agree with that. However if I google both URL's in Google, they will both bring up the same page but with the original URL of http://goo.gl/zDzI7j ...in other words, two different URL's bring up the same indexed page in Google....weird I thought about using a wildcard in the robots.txt to disallow these duplicate pages with poor URL's....something like.... Disallow: /*display.php?product_id However, I read various posts that it might not help our issues? Don't want to make things worse. On another note, my colleague paid for a "SEO service" and they just dumped 1000's of back-links to our website, of course that's come back to bite us in the behind. Anyone have any recommendations for a good service to remove these back-links? Thanks in advance!!0 -
PDF's - Dupe Content
Hi I have some pdfs linked to from a page with little content. Hence thinking best to extract the copy from the pdf and have on-page as body text, and the pdf will still be linked too. Will this count as dupe content ? Or is it best to use a pdf plugin so page opens pdf automatically and hence gives page content that way ? Cheers Dan
On-Page Optimization | | Dan-Lawrence0 -
What's the point of my blog?
My website, www.toplinecomms.com has a reasonably good blog that gets quite good interaction and sharing. I introduced the blog at the start of 2013 because the general sentiment from all the SEO books and articles I had read was that a good blog could be invaluable to a search marketing campaign. The posts on the blog are keyword optimised and they get great shares and social engagement. However, I have noticed that the blog is stealing my services' pages' thunder! There are some keywords that I am keen for our services pages to rank for, but the blog is beating them to it! So my question is: How should I be using my blog to get my services pages to rank higher?
On-Page Optimization | | HeatherBakerTopLine0 -
Is Rel=Canonical the answer???
Hey Mozzers, Can you help me with something please. I have some important content going live next week for a client. We work on there blog optimisation and this piece of content is going live on both the blog and parent site. The parent site has huge DA in comparions to the blog. I want to get the traffic directed to the blog and get the blog ranking - bare in mind the content is exactly the same so it is dupe. If I want to get the blog ranking above the parent site and to direct the traffic here is a cross domain Rel=Canonical the answer? Has anyone else had this issue? Thanks Bush
On-Page Optimization | | Bush_JSM0 -
Optimization help
Looking for suggestions - one of my targeted keywords is "IT Support NY". I can't for the life of me figure out a way to use it in a sentence. Any ideas?
On-Page Optimization | | CsmBill0 -
Using rel="author" on product descriptions
Unique and effective product descriptions can be one of the most expensive investments that go into building a retail website. I would consider them part of the "intellectual property" of a company. These descriptions are also one of the most often pirated types of content. Some product descriptions have been grabbed and used by hundreds of pirates. When people grab your product descriptions it creates a duplicate content problem, it also starts cutting off your long-tail traffic. The discussion topic here is.... Have you heard of anyone using rel="author" on product pages with substantive content? Do you think there is any value in doing that? Is this an abuse of rel="author" Thank you!
On-Page Optimization | | EGOL1