Does it matter if I have www in my domain name

If you have any questions related to Linking Strategies Please ask them here.

Does it matter if I have www in my domain name

Postby Loz on Thu Jul 26, 2007 7:31 am

Does it matter if you have www. or no www. in my domain name?

Well, not really. Does it hurt SEO? Well, nah, not really.

But you can lose Page Rank.

To stop this from happening, you need to use a .htaccess rewrite mod.

Create a new one by opening up your text pad and entering the following code:

Code: Select all
# force www IN URL
RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
# END force www IN URL


Of course change the example dot come with your domain name.

Place this file into your domain's root directory, ie "public_html" or "www" folder. ;)
User avatar
Loz
Site Admin
Site Admin
 
Posts: 865
Joined: Wed Jun 20, 2007 6:28 am
Location: US

Return to Linking Strategies

Who is online

Users browsing this forum: No registered users and 0 guests