|
2010-09-08, 03:52 PM | #1 |
What do you mean, my birth certificate expired?
|
To www. or not to www.
I was wondering. Does it make a difference to add www. to the links or not? Example: http://greenguysboard.com or http://www.greenguysboard.com
Just wondering. |
2010-09-08, 04:02 PM | #2 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Do whatever you want but always do it the same.
|
2010-09-08, 04:14 PM | #3 |
That which does not kill us, will try, try again.
|
You can use your .htaccess file to ensure that all pages load the way you want, with or without the "www." so all bookmarkers and spiders will see the address you want to favor.
Here's an example of what goes in the .htaccess file if you want to use the www... RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain\.com RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L] That's all. And just edit as necessary if you want things the other way. HTH
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
2010-09-08, 04:38 PM | #4 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
Code:
RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2010-09-08, 04:41 PM | #5 |
What do you mean, my birth certificate expired?
|
Cool. I just was not sure if made a difference in big skeem of things.
|
2010-09-08, 06:41 PM | #6 | |
That which does not kill us, will try, try again.
|
Quote:
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
|
2010-09-08, 09:41 PM | #7 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
if they are separate virtual hosts, it wouldn't change anything. But, if you have subdomains hitting the same virtual host, it would affect them.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2010-09-09, 08:50 AM | #8 |
You can now put whatever you want in this space :)
|
I believe SE's will treat them as seperate websites. With that said, duplicate content is something to consider. Add to that links to your site that either use the www or not - that will affect your page rank.
I say pick your fav and stick to it. Using a redirect in your htaccess (301) as mentioned is the way to go. |
2010-09-09, 01:35 PM | #9 |
What do you mean, my birth certificate expired?
|
Cool Thanks
|
|
|