Home > SEO Advise: URLs and Search Engines


John Britsios

Guide to SEO Advise: URLs and Search Engines

URL Canonicalization


Useful
5.2
out of 10

Add Your Comments
 
 
Email Guide to SEO Advise: URLs and Search Engines to a friend
Save the Guide to SEO Advise: URLs and Search Engines to My Work.com Favorites
Print the Guide to SEO Advise: URLs and Search Engines
link to this page
Save to del.icio.us
digg it!


URL Canonicalization

Canonicalization” - The process of picking the best url when there are different choices, and it usually refers to the homepage.

Search engines would consider these urls as same:

* example.com
* example.com/
* example.com/index.html
* example.com/home.asp
* e.t.c.

In other words, the search engines may consider such pages as duplicated and ignored them when it comes to indexing and may ignore them.

If you server supports the use of an .htaccess file and your hosting provider allows you to edit it, here is an example what to edit:

### Require the www to avoid cannonicalization issues ###
RewriteCond %{HTTP_HOST} ^seoworkers.com [NC]
RewriteRule ^(.*)$ http://www.seoworkers.com/$1 [L,R=301]

### Require the slash to avoid cannonicalization issues ###
RewriteCond %{HTTP_HOST} !^www\.seoworkers\.com [NC]
RewriteRule ^(.*)$ http://www.seoworkers.com/$1 [L,R=301]

### Redirect index.html to / ######
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.htm?\ HTTP/
RewriteRule ^(.*)index\.htm?$ http://www.seoworkers.com/$1 [R=301,L]

### Redirect index.php to / ######
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php?\ HTTP/
RewriteRule ^(.*)index\.php?$ http://www.seoworkers.com/$1 [R=301,L]

If you are not hosting on an Apache server or your server does not support .htaccess files, here are some additional server side scripting solutions: Search Engine Friendly Permanent Redirects

More about this, you can read the post of Matt Cutts, Principal Software Engineer at Google SEO advice: url canonicalization.



Sign up for the What Works for Business weekly e-newsletter!
 Related Resources from Business.com Back to top 
 Recommended Solution Providers Back to top 

Professional Search Engine Optimization, Web Design, Ecommerce and Internet Marketing Company.


  Best Blogs and Forums Back to top 

Professional Web Design & Search Engine Optimization Resources.

SEO Workers search engine optimization & web site design discussion forums.


  CommentsBack to top 

Loading Comments...


Add Your Comments


Email Guide to SEO Advise: URLs and Search Engines to a friend
Save the Guide to SEO Advise: URLs and Search Engines to My Work.com Favorites
Print the Guide to SEO Advise: URLs and Search Engines
link to this page
Save to del.icio.us
digg it!


Is any content on this page inappropriate? To let us know, please click here.







© 2010 Business.com, Inc. All Rights Reserved. Work.com is a property of Business.com.
Help | About Us | Site Map | Terms of Use | Privacy Policy | Community Policy | Taskonomy | Advertise | Contact Us | Local Business Directory | Work.com Feed