BBU Appointment System Forum View new messages in your reader RSS
Homepages for Salons and Spas Online Appointment Systems
BBU Appointment System Forum BBU Online Appointment
System Forum
Welcome Guest
Please login or register
Home Help Search Login Register
RSS BBU Forum |  RSS BBU Headlines |  RSS BBU News |  Free E-mail  |    Live Help  |  Beautybyus.com  | May 12, 2008
+  BBU Online Appointment System Forum
|-+  Your Own Website Development
| |-+  .htaccess
| | |-+  Canonical URLs
Pages: [1] Print
Author Topic: Canonical URLs  (Read 8 times)
Magic
Forum Admin
Sr. Member
*****
Offline Offline

Posts: 97



WWW
Canonical URLs
on May 05 2008, 10:11 PM

Canonical means that the URL conforms to a standard or general rule.

http://www.somesite.com & http://somesite.com are both examples of a canonical URL.

In SEO the problem arises when Google and the other robots detect that . . . with two URLs . . . you may be trying to duplicate your content in the search results. For that reason allow only one of these canonicals to resolve to your site.

You can do this by creating a .htaccess file in a text editor such as Windows Notepad and uploading that file to the root of your site.

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

Don't forget to change the domain name "somesite" to your own.

Note: Strictly Apache

Magic.
Logged
Pages: [1] Print 
Jump to:  


Login with username, password and session length


NoWhere Radio.com
INDIE MUSIC & HOSTING

 Yahoo!
Homepages and Online Appointment Systems
Powered by MySQL Powered by PHP BBU Online Appointment System Forum | Powered by SMF 1.0.3.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!

Beauty By Us Inc.
Kingston Ontario Canada K7K 6K8
Serving North America   (613) 547-3358

W3C P3P Compliant | PIPEDA Compliant