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
-
MOZ Pro Has Not Helped Yet. What is Going On?
A month ago I started using MOZ and I improved my website significantly. I reduced the Crawl Issues to few of them, improved the sitemap, url, etc. Unfortunately, my organic search has not improved at all. At the same time one of my competitors has the same Domain Authority, near the same Page Authorizaty, relatively similar social media performance, slightly higher backlinks, same blog content, etc. BUT, they are better ranked by Alexa.com, Similarweb.com and appear on google in top 10 for many of the keywords I am not even in top50. What am I doing wrong?
On-Page Optimization | | Threeding.com0 -
Rel-canonical
Hi, I am a bit confused. A potential clients website has three versions: http://www. http:// http://dev. In each version they have used the rel=canonical back to each base version. So http://www." http://" http://dev." I would have expected duplicate content but I see only one version of the content when I check using "....." in Google. Using the site: tool I see that all three versions are indexed. When moving through the navigation on them, they all redirect to the one home page - the www version. Any idea what is going on and what should be recommended?Redirecting all versions to the www. version? Is it a problem?
On-Page Optimization | | AL123al0 -
Why Can't I Get Indexed?
I cannot seem to get my website indexed by Google! I submitted the sitemap using Google WMT about a month ago but only one page is being indexed. There are very few backlinks to the site, so I don't believe there are any penalties due to over-optimization that would prevent indexing. Also, my robots.txt file is properly configured and is not preventing any pages from being crawled. I've tried using the "Fetch as Google" settings in WMT with no luck. Any ideas?
On-Page Optimization | | socialfirestarter0 -
Can't see why been marked 'Avoid Keyword Stuffing'
Hi SEOmoz! I'm a newbie, first post, here goes... Working my way through On-Page Report Cards. Noticed this page http://www.vintageheirloom.com/vintage-chanel/vintage-chanel-bags flagged with 'Avoid Keyword Stuffing in Document'. Keyword is 'Vintage Chanel bags' and there is just one instance of it on this particular category page?? Any ideas? Any general pointers for me on www.vintageheirloom.com would also be much appreciated. Thanks SEOmozzers...
On-Page Optimization | | well-its-1-louder0 -
Is there a tool out there I could use to help me compose unique meta tags in bulk?
We have a website that has hundreds of crawl errors due to duplicate meta tags. I could do with a tool to help compose unique ones in bulk so we don't exceed the recommended character limit and follow any other best practices.
On-Page Optimization | | WebDesignBirmingham0 -
How woud you deal with Blog TAGS & CATEGORY listings that are marked a 'duplicate content' in SEOmoz campaign reports?
We're seeing "Duplicate Content" warnings / errors in some of our clients' sites for blog / event calendar tags and category listings. For example the link to http://www.aavawhistlerhotel.com/news/?category=1098 provides all event listings tagged to the category "Whistler Events". The Meta Title and Meta Description for the "Whistler Events" category is the same as another other category listing. We use Umbraco, a .NET CMS, and we're working on adding some custom programming within Umbraco to develop a unique Meta Title and Meta Description for each page using the tag and/or category and post date in each Meta field to make it more "unique". But my question is .... in the REAL WORLD will taking the time to create this programming really positively impact our overall site performance? I understand that while Google, BING, etc are constantly tweaking their algorithms as of now having duplicate content primarily means that this content won't get indexed and there won't be any really 'fatal' penalties for having this content on our site. If we don't find a way to generate unique Meta Titles and Meta Descriptions we could 'no-follow' these links (for tag and category pages) or just not use these within our blogs. I am confused about this. Any insight others have about this and recommendations on what action you would take is greatly appreciated.
On-Page Optimization | | RoyMcClean0 -
Post Title - Use the blog's name or not?
In the tile of my post, shoudl I used my blog's name in it at the end or emit the blog name. EX: title of post with keywords | name of blog OR EX: title of post with keywords The site's name is 3 words long, so I'm worrying that those extra words are diluting the keywords in the post's name that I'm trying to target.
On-Page Optimization | | gregalam0