Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

canonical issue


  • Please log in to reply
1 reply to this topic

#1 RICHARD1903

RICHARD1903

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:loughborough
  • Local time:11:28 PM

Posted 13 August 2010 - 11:39 AM

Hi all,

This is my very first posting on this site, and hopefully somebody will have the correct answer.

I have my own website at www.richardharper.net, and somebody told me I have what is known as a "canonical issue"..I've Googled it so understand what it is, but to be honest I've no idea how to check if my site has this problem or not.

Can anyone help.

Thanks in advance.

Richard

BC AdBot (Login to Remove)

 


#2 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,258 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:09:28 PM

Posted 13 August 2010 - 12:53 PM

Here's what I think they mean:

Your site is accessible via both www.richardharper.net and richardharper.net (note the lack of the leading 'www.') So, search engines like Google don't know which is the "canonical," or official address of your website.

The way to fix this is to decide which address should be your "official" address and redirect all other addresses to it using a 301 permanent redirect. You should be able to write a quick URL rewrite rule to do this. Like this (for Apache Webserver with mod_rewrite enabled):

rewritecond %{http_host} ^richardharper.net [nc]
rewriterule ^(.*)$ http://www.richardharper.net/$1 [r=301,nc]

would redirect anyone visiting richardharper.net to www.richardharper.net

From a purely technical standpoint, there is no need to do this. This merely helps Google and others along when they crawl your website.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users