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
-
Putting review aggregation in product's navigation
Do you guys think it's a bad idea to put a review aggregation page in a product's navigation? Such as: "Which Brand of Men's Shampoo Is Best for You?" Rand suggests against it in this Whiteboard Friday as it interferes with a product's funnel, but I wonder if including it in navigation will give a domain and that page increased authority for a head keyword, such as "men's shampoo." What do you guys think?
On-Page Optimization | | Edward_Sturm0 -
Why doesn't MailChimp use an SSL certificate on their homepage?
MailChimp, one of the biggest brands in online marketing doesn't use an SSL certificate on their homepage...Is there a simple reason for this? Wouldn't they get an SEO boost from having one?
On-Page Optimization | | WickVideo1 -
Need help in understanding why my site does not rank well for our best content?
Hi, We are a technology site from India (Digit.in) and we create a lot of original product review content (http://www.digit.in/mobile-phones/nokia-lumia-830-review-24655.html) but don't seem to rank even in the first 4 pages on Google results. Please let me know the reason for this and how to get this fixed. Thanks Arun
On-Page Optimization | | 9dot90 -
Google is indexing urls with parameters despite canonical
Hello Moz, Google is indexing lots of urls despite the canonical in my site. Those urls are linked all over the site with parameters like ?, and looks like Google is indexing them despite de canonical. Is Google deciding to index those urls because they are linked all over the site? The canonical tag is well implemented.
On-Page Optimization | | Red_educativa0 -
Is Google indexing something I can't see on my page title?
When I do a search for my businesses website (colourpages.com) it returns a listing which is great but the title tag includes Hull Colour Pages which is our old brand name - we changed to colourpages.com 2 years ago yet Hull Colour Pages is still pulling through on the title tag. I have checked the source and it's as follows: <title>Plumbers in Hull - Reviews - colourpages.com</title> I have attached a photo which shows the issue - http://imgur.com/Cva3001 Is Google indexing it from old history that is no longer visible or am I missing something? Cva3001
On-Page Optimization | | colourpages0 -
Should I use rel=canonical in this case
Hi SEO pros, I am working on a website competing on the keyword "USA maps" and would appreciate your advice and comments on the issue below. The site has one major page for USA maps and like 5-6 smaller pages under different categories, e.g. US travel maps (under Travel Maps category), US travel guides (under Travel Guides), US atlases (under Atlases), etc. The smaller pages do not rank in search results and are not optimized well for any keyword. Here are my questions: #1. Do you think that if I add rel=canonical to the main USA maps page from all small pages that will help get higher ranking of the main page? #2 Or should I better try to optimize these small pages for the keywords they target (e.g. "US travel maps") and try to send link juice to the main page from text link within the content? Thank you,
On-Page Optimization | | ParisChildress0 -
Canonical URL's - Fixed but still negatively impacted
I recently noticed that our canonical url's were not set up correctly. The incorrect setup predates me but it could have been in place for close to a year, maybe a bit more. Each of the url's had a "sortby" parameter on all of them. I had our platform provider make the fix and now everything is as it should be. I do see issues caused by this in Google Webmaster, for instance in the HTML suggestions it's telling me that pages have duplicate title tags when in fact this is the same page but with a variety of url parameters at the end of the url. To me this just highlights that there is a problem and we are being negatively impacted by the previous implementation. My question is has anyone been in this situation? Is there any way to flush this out or push Google to relook at this? Or is this a sit and be patient situation. I'm also slightly curious if Google will at some point look and see that the canonical urls were changed and then throw up a red flag even though they are finally the way they should be. Any feedback is appreciated. Thanks,
On-Page Optimization | | dgmiles
Dave0 -
Sitemap Help!
Hi Guys, Quick question regarding sitemaps. I am currently working on a huge site that has masses of pages. I am looking to create a site map. How would you guys do this? i have looked at some tools but it say it will only do up to 30,000 pages roughly. It is so large it would be impossible to do this myself....any suggestions? Also, how do i find out how many pages my site actually has indexed and not indexed?? Thank You all Wayne
On-Page Optimization | | wazza19850