Anthony Keenan Internet Services - Web Design : Ecommerce : Hosting : Domain Names

Tech Support / Help
 
Browse by Category
AKIS Tech Support
Billing / Accounts
General
Email
Domain Names
Backups
FTP Transfer (File Uploads)
MySQL Databases
Scripts / Programming

Customer Helpdesk
Can't find the answers you need?
Click for our Customer Helpdesk.


Home > General

Search FAQs
 

Jump to Category
 

FAQ(s) found under  General Showing 9 Of 28 Prev  |  Next

How do I force all visitors to use the www. of the domain?

To force all website visitors to use the www. part of the domain in the URL (useful for search engines) you can put the following into a .htaccess file

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^domain.com$
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

Replace domain.com with your actual domain name.

After doing this, anyone who enters http://domain.com into the browser will be redirected to http://www.domain.com.








Page copy protected against web site content infringement by Copyscape
© 2001-2009 Anthony Keenan Internet Services. All rights reserved.
Credit & Debit Cards Accepted Online