Home
HOME

WEB DESIGN

WEB HOSTING

WEB SERVICES

PORTFOLIO

ABOUT US

CONTACT
C-DOUBLE.COM

Affordable Web Design

web hosting, domain registration, seo
(661) 872.2738Bakersfield, CA.
web design services
web design services domain name registration

Redirecting your domain with c-panel

I have found a problem when trying to redirect the www to non-www using the c-panel redirect utility.

It is known that the search engines treat your site yourdomain.com and www.yourdomain.com as two completely separate sites. This is not how you want it to work. To remedy this situation you need to create a 301 redirect to point your www.yourdomain.com links to yourdomain.com.

Unfortunately, the c-panel redirect utility will not allow you to add the slash to the end of the domain i.e. http://yourdomain.com/

You will need to edit the .htaccess file directly. You can add the 301 redirect using the c-panel utility and then edit it adding in the slash or just add the following to the .htaccess file.

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

This should redirect all traffic with the www to the non-www domain.
- posted by C-Double Web Development @ Sunday, May 10, 2009
Bookmark this article: blink it  tag on del.icio.us  digg this  furl it  reddit this  search technorati  Save to YahooMyWeb


 
Web c-double.com
Blog Home - RSS Feed


Add to Google

Previous Posts

Archives


Search For Blogs, Submit Blogs, The Ultimate Blog Directory

blogexplosion

GeoURL

Globe of Blogs

Listed in LS Blogs

Blogarama - The Blog Directory

XING

Get Firefox!

Blog Directory for Bakersfield, California


Powered by Blogger