•  
  • “How To Setup A Website, Leave It And Make Money Over And Over Again”

    Enter your first name and primary email address below then click the "Free Instant Access!" button to get the free info:

What is Canonical URL? How to Clean Canonical URL’s and Reduce Duplicate Content

By Carl On July 12, 2007 Under Search Engine Optimization

Sorry for the lack of posts for the last few days guys. I was making new sites. You know diversifying ;)

Anyway, I’m glad to tell you that all this “site making scheme” gave me another SEO lesson. It’s duplicate content. Not the ordinary duplicate content most people know (Copying articles from another site) but duplicate content within your site. Yes, duplicate content WITHIN your site.

What’s Canonical URL’s?

Cannon

No, not that

Cannon in D

that either

Canon Camera

Errr?

Grand Canyon

What the heck?!

How come that happens?

Google is not that smart – yet. Google is not your math teacher that wants to answer challenge questions. Google is like your little brother looking for his toys. Google wants you to feed them with information so they can eat it.

But like your bro, they don’t want ice cream over and over again, that makes their stomach ache and their teeth. So the extra waste goes down the drain or in the trash (Results in the supplemental index)

No literally, what is Canonical URL?

As Wikipedia stated:

Canonicalization is a process for converting data that has more than one possible representation into a “standard” canonical representation.

So, Canonical + URL (Uniform Resource Locator) = Duplicate Content = More supplemental results = less Google lovin’

Examples of Canonical URL’s are:

Example.com/

www.example.com
example.com/index.html
www.example.com/index.html

And many more combinations!

So, how do I clean my Canonical URL, so I get one URL representation only?

Well, you can edit your .htaccess file in the root of your site and add these lines if you want your site to use www:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

Then upload it. That’s it. No more extra ice cream, err! pesky duplicate content on your websites

Bookmark

Related Posts

  • No Related Posts

6 Comments Add yours

  1. I confused on this CArl. Do you have anymore blog post on this subject? Does this send all the backlink juice to the home page.

  2. Raj
    October 30, 2010
    5:16 pm #comment-2

    Thanks for the post. Although I was looking for more information. But in short it describes everything.

  3. Online Seo Tips
    March 26, 2011
    12:05 pm #comment-3

    I’m not getting it clearly about the Cannonical URL from your short post. Please make it clear.

  4. Avenir
    April 11, 2011
    7:36 am #comment-4

    The search engine friendly URL that you want the search engines to treat as authoritative. A canonical URL is the URL that you want visitors to see. Thanks for informative sharing..

  5. Jack
    May 28, 2011
    12:28 pm #comment-5

    Thanks.
    I’ve a question. This code redirect to the www. url, right? and if I want to redirect to the non www. url? how to do?
    Thanks.

  6. Identity Technologies
    September 30, 2011
    6:34 am #comment-6

    I’m not getting it clearly about the Cannonical URL but somehow get the information but i want to know clear meaning for the Cannonical url..

Add a comment

  • Avatars are handled by Gravatar
  • Comments are being moderated