Get exclusive CAP network offers from top brands

View CAP Offers

Reply To: Hosting several domains at one account- not a good thing?

[bsa_pro_ad_space id=2]
#708328
Anonymous
Inactive
hyacinthgirl wrote:
I don’t know what that means :(

You need to ensure that when a user goes to http://yoursite.com it takes them to http://www.yoursite.com (or vice versa depending on which you default to). You do this with the “.htaccess” file – there is another thread on CAP that deals with this currently – just can’t remember where – but a search should find it. Otherwise Google “htaccess 301 redirect”. basically you put this code in your .htaccess file in the same directory as your Index page:

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

…obviously replacing “yourwebsite” with your web site ;)

Cheers

Simmo!