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
-
Image alt tags shouldn't contain keywords?
Hi Everyone, I've been informed recently that keyword within your image alt tags can be a trigger for penguin if you have your keyword mentioned too often on the page (over-optimisation). I'm not sure I understand why though, the reason for this is, we have a page which features a picture and a description of a product. The page title, heading, a mention in content and image alt all contain a keyword which is the product name. I've been told to remove these alt tags but aren't alt tags important for screen readers and other W3C complacency issues, so removing the product names from the alt (which also happens to be the keyword for the product pages but is best describing what the image is) would make these image useless to users with certain disabilities, so if its true that doing this can be a negative signal isn't this breaking googles guidelines by not providing good content for those users? Would it be better to remove these alt tags or attempt to remove keyword elsewhere on the page? or can anyone suggest something else? Thanks in advance.
On-Page Optimization | | AMA-DataSet0 -
Help, a certain directory is not being indexed
Before I start, dont expect this to be too easy. This really has me puzzled and am surprised I am still yet to find a solution for it. Get ready. We have a wordpress website, launched over 6 months ago and have never had an issue getting content such as pages and post pages and categories indexed. However, I some what recently (about 2 months ago) installed a directory plugin (Business Directory Plugin) which lists businesses via unique urls that are accesible from a sub folder. Its these business listings that I absolutely cannot get indexed. The index page to the directory which links to the business pages is indexed, however for some reason google is not indexing all the listing pages which are linked to from this page. Its not an issue of the content being uncrawlable or at least dont think so as when I run crawlers on my site such as xml sitemap crawlers it finds all the pages including the directory pages so I am sure its not an issue of the search engines not finding the content. I have created xml sitemaps and uploaded to webmaster tools, tools recongises that there are many pages in the xml sitemap but google continues to only index a small percentage (everything but my business listings). The directory has been there for about 8 weeks now so I know there is a issue as it should of been indexed by now. See our main website at www.smashrepairbid.com.au and the business directory index page at www.smashrepairbid.com.au/our-shops/ To throw in a curve ball, in looking into this issue and setting up tools we noticed a lot of 404 error pages (nearly 4,000). We were very confused where these were coming from as they were only being generated from search engines - humans could not access the 404s and so we are guessing se's were firing some javascript code to generate them or something else weird. We could see the 404s in the logs so we know they were legit but again feel it was only search engines, this was validated when we added some rules to robots.txt and we saw the errors in the logs stop. We put the rules in robots txt file to try and stop google from indexing the 404 pages as we could not find anyway to fix the site / code (no idea what is causing them). If you do a site search in google you will see all the pages that are omitted in the results. Since adding the rules to robots, our impressions shown through tools have jumped right up (increased by 5 times) so thought this was a good indication of improvement but still not getting the results we want. Does anyone have any clue whats going on or why google and other se's are not indexing this content? Any help would be greatly appreciated and if you need any other information to assist just ask me. Really appreciate anyone who can spare their time to help me, I sure do need it. Thanks.
On-Page Optimization | | ziller0 -
301 to Intermediate Page then Rel=Canonical from Intermediate to target page
Hi I'm working on an eCommerce site and don't have direct access to the CMS. I had requested developers to provide me a facilty to 301 via htaccess however this is working slight differently. I need guidance from experts whether it's okay or not: Old Page: example.com/old Target New Page: example.com/new After Implementing the redirect, It redirects to an intermediate page or in other words, The same target URL with a question mark added: example.com/new? (notice the question mark in the new URL) This intermediate page has a canonical tag for the exact target URL. So, if I 301 redirect example.com/old to example.com/new? (Intermediate page) and If the intermediate page example.com/new? has a canonical tag for the exact target URL (example.com/new), Will I be able to pass the link juice and authority of old page to the new page?
On-Page Optimization | | Ankkesh0 -
Events in Wordpress Creating Duplicate Content Canonical Issues
Hi, I have a site which uses Event Manager Pro within Wordpress to create Events (as custom post types on my blog. I use it to advertise cookery classes. In a given month I might run one type of class 4 times. The event page I have made for each class is the same and I duplicate it 4 times and just change the dates to promote it. The problem is with over 10 different classes, which are then duplicated up to 4 times each per month. I get loads of duplicate content errors. How can I fix this without redirecting people away from the correct page for the date they are interested in? Is it best just to use a no follow for ALL events and rely on the other parts of my site for SEO? Thanks, T23
On-Page Optimization | | tekton230 -
Not using H1's with keywords to simulate natural non SEO'd content?
There has been a lot of talk lately about making a website seem like it is not SEO'd to avoid over optimization penalties with the recent Google Algorithmic updates. Has anyone come across the practice of not using Headings (H1's, H2's etc..) properly to simulate that the current webpage isn't over optimized? I've come across a site that used to use multiple keywords within their headings & now they are using none. In fact they are marking their company name & logo as an H1 and non keyworded H2's such as our work or Contact. Is anyone holding back on their old SEO tactics to not seem over optimized to Google? Thanks!
On-Page Optimization | | DCochrane0 -
Help with Appropriate Use of Rel Canonical
Whenever i enable Canonical URL through the 3DCart Control panel I get this Critical Factor error when running the on page report card: Appropriate Use of Rel Canonical Moderate fix <dl> <dt>Canonical URL</dt> <dd>"http://rcnitroshop.com/Nitro-Monster-Truck"</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> Now if I disable Canonical URL then run the on page report card again the critical error goes away but I get this Optional Factor error instead: Canonical URL Tag Usage Moderate fix <dl> <dt>Number of Canonical tags</dt> <dd>0</dd> <dt>Explanation</dt> <dd>Although the canonical URL tag is generally thought of as a way to solve duplicate content problems, it can be extremely wise to use it on every (unique) page of a site to help prevent any query strings, session IDs, scraped versions, licensing deals or future developments to potentially create a secondary version and pull link juice or other metrics away from the original. We believe the canonical URL tag is a best practice to help prevent future problems, even if nothing is specifically duplicate/problematic today.</dd> <dt>Recommendation</dt> <dd>Add a canonical URL tag referencing this URL to the header of the page.</dd> </dl> So basically I disabled it because obviously a Critical error is much worse then an optional error. Is there a way I can get rid of both errors?
On-Page Optimization | | bilsonx0 -
Appropriate SEO strategies for a website's own SERPs?
Hello all, What are good on-page SEO practices for the search result pages on our own sites? For instance, what page titles do you use? Do you include page numbers? Meta-descriptions? Headers? Keyword utilization? This is a consideration for us as we link to some popular search results on our sites. Thanks!
On-Page Optimization | | DanSerpico0 -
My report also notes that I have 176 Rel Canonical. What does this mean and how do I fix it. Thanks
My report also notes that I have 176 Rel Canonical. What does this mean and how do I fix it. Thanks http://pro.seomoz.org/campaigns/95663/issues/18
On-Page Optimization | | cyaindc0