Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2010-09-08, 03:52 PM   #1
Mike-mijen
What do you mean, my birth certificate expired?
 
Mike-mijen's Avatar
 
Join Date: Aug 2004
Location: Fla
Posts: 995
Send a message via ICQ to Mike-mijen
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.
Mike-mijen is offline   Reply With Quote
Old 2010-09-08, 04:02 PM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Do whatever you want but always do it the same.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2010-09-08, 04:14 PM   #3
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
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
Simon is offline   Reply With Quote
Old 2010-09-08, 04:38 PM   #4
cd34
a.k.a. Sparky
 
cd34's Avatar
 
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]
You might want to set an exclusion rather than an inclusion, otherwise http://somethingelse.domain.com/ would still fall through.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2010-09-08, 04:41 PM   #5
Mike-mijen
What do you mean, my birth certificate expired?
 
Mike-mijen's Avatar
 
Join Date: Aug 2004
Location: Fla
Posts: 995
Send a message via ICQ to Mike-mijen
Cool. I just was not sure if made a difference in big skeem of things.
Mike-mijen is offline   Reply With Quote
Old 2010-09-08, 06:41 PM   #6
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Quote:
You might want to set an exclusion rather than an inclusion, otherwise http://somethingelse.domain.com/ would still fall through.
How would doing it that way affect subdomains that actually are in use on that domain?
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2010-09-08, 09:41 PM   #7
cd34
a.k.a. Sparky
 
cd34's Avatar
 
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
cd34 is offline   Reply With Quote
Old 2010-09-09, 08:50 AM   #8
terry
You can now put whatever you want in this space :)
 
terry's Avatar
 
Join Date: Apr 2004
Location: Montreal
Posts: 5,883
Send a message via ICQ to terry
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.
terry is offline   Reply With Quote
Old 2010-09-09, 01:35 PM   #9
Mike-mijen
What do you mean, my birth certificate expired?
 
Mike-mijen's Avatar
 
Join Date: Aug 2004
Location: Fla
Posts: 995
Send a message via ICQ to Mike-mijen
Cool Thanks
Mike-mijen is offline   Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:13 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc