Reply
www or no www
Old 02-13-2006, 06:33 PM www or no www
tvcrazyman's Avatar
Novice Talker

Posts: 11
Does it matter if your sites are accessible by www and without the www in the address like http://www. or just http:// .

I've got links with www and without all over some of my older sites going to the same pages.

If it does matter or if there is even a chance it could cause a duplicate content penalty or lessen my page rank, how could I write a htaccess to add the www to everything? Would this convince Google there is only one page and not two?
__________________
Webmaster of webmaster tps
tvcrazyman is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-13-2006, 06:40 PM Re: www or no www
King Spam Talker

Posts: 1,124
I can't speak for Google but since the use or lack of WWW is a server side setting and resolves to the exact same page if lack of is enabled I don't hink it matters.

Worry about your content. With content they will find and list you.

Colbyt
colbyt is offline
Reply With Quote
View Public Profile
 
Old 02-13-2006, 06:59 PM Re: www or no www
tvcrazyman's Avatar
Novice Talker

Posts: 11
Does anybody know if it matters or not for sure though?
__________________
Webmaster of webmaster tps
tvcrazyman is offline
Reply With Quote
View Public Profile
 
Old 02-13-2006, 11:54 PM Re: www or no www
vangogh's Avatar
Post Impressionist

Posts: 8,935
Name: Steven Bradley
Location: Boulder, Colorado
It won't matter which one you use, but you do want to use just one. I prefer to have the www, but that's just my preference.

What you want to do is add a 301 redirect from one to the other. Here's code you can add to your .htaccess file to redirect from non www to www (I think I actually found the code somewhere else in this forum):

Code:
Options +FollowSymLinks 
RewriteEngine on 
RewriteCond %{HTTP_HOST} ^yoursite.com [NC] 
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]
If you don't already have an .htaccess file you'll want to add it to the root directory for your site. And you obviously need to replace yoursite.com with your actual domain.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-14-2006, 05:59 AM Re: www or no www
chrishirst's Avatar
Super Moderator

Posts: 15,213
Location: Blackpool. UK
Yep, consistency is important, pick one 301 the other to it
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-14-2006, 10:09 AM Re: www or no www
tvcrazyman's Avatar
Novice Talker

Posts: 11
I'm going to use that code, thanks.
__________________
Webmaster of webmaster tps
tvcrazyman is offline
Reply With Quote
View Public Profile
 
Old 02-14-2006, 10:49 PM Re: www or no www
stOx's Avatar
Machine

Latest Blog Post:
Worlds Smallest Car - Peel P50
Posts: 2,114
Name: Matt. (>',')>
Location: London, England.
I used a 301 on my site too.
otherwise you may have your PR dilluted between the domain and the www. subdomain iif poeple link to both.
stOx is offline
Reply With Quote
View Public Profile Visit stOx's homepage!
 
Reply     « Reply to www or no www
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13650 seconds with 12 queries