Reply
Old 09-07-2006, 04:06 AM Confused
imported_Tom's Avatar
$100 - $999 Monthly

Posts: 194
When I go to the site explorer tool in Yahoo! and the webmaster tools in Google I see both the www and the non-www version listed. And I've only validated/authenticated the www version.
How do I go about with the non-www version? Do I just delete it? Create that non-www to www redirect? (Any site on that?) What should I do? Just leave it? It's considered a different site right?
__________________
Left of Me - Thai Magazine Scans of hot, sexy, beautiful Thai women.
Talk vBulletin - Discussion Forum for vBulletin Enthusiast!
imported_Tom is offline
Reply With Quote
View Public Profile Visit imported_Tom's homepage!
 
When You Register, These Ads Go Away!
Old 09-07-2006, 05:09 AM
kthdsn's Avatar
Junior Talker

Posts: 96
You should create a redirect, I prefer to send my visitors to non-www but its up to you which way you do it, I don't think it makes a difference. Without a redirect the search engines see two versions of your site which is not what you want.
kthdsn is offline
Reply With Quote
View Public Profile Visit kthdsn's homepage!
 
Old 09-07-2006, 05:22 AM
imported_Tom's Avatar
$100 - $999 Monthly

Posts: 194
A redirect as in this? http://www.organicseo.org/URL_Rewrit...www.domain.com
__________________
Left of Me - Thai Magazine Scans of hot, sexy, beautiful Thai women.
Talk vBulletin - Discussion Forum for vBulletin Enthusiast!
imported_Tom is offline
Reply With Quote
View Public Profile Visit imported_Tom's homepage!
 
Old 09-07-2006, 05:30 AM
kthdsn's Avatar
Junior Talker

Posts: 96
I'm not sure how you do it, I had a friend set mine up for me. I guess it depends on your server/hosting.
kthdsn is offline
Reply With Quote
View Public Profile Visit kthdsn's homepage!
 
Old 09-07-2006, 10:49 PM
imported_Tom's Avatar
$100 - $999 Monthly

Posts: 194
Thanks kthdsn
Anyone else able to help clarify?
__________________
Left of Me - Thai Magazine Scans of hot, sexy, beautiful Thai women.
Talk vBulletin - Discussion Forum for vBulletin Enthusiast!
imported_Tom is offline
Reply With Quote
View Public Profile Visit imported_Tom's homepage!
 
Old 09-08-2006, 12:15 PM
Junior Talker

Posts: 126
If you have access to mod_rewrite, then place a .htaccess file in you root directory. .htaccess should contain the following:

RewriteEngine On
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.domain\.com [NC]
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

This would redirect any request on non-www to www with the same URI.

E.g. http://domain.com/page123.htm will be redirected to http://www.domain.com/page123.htm
stefanjuhl is offline
Reply With Quote
View Public Profile Visit stefanjuhl's homepage!
 
Old 09-10-2006, 07:46 AM
imported_Tom's Avatar
$100 - $999 Monthly

Posts: 194
I dunno what mod_rewrite is... but i see a .htaccess file in my root and can edit it, so I'll add those lines.
All I gotta change is the "domain" part correct?

thanks so much guys!
__________________
Left of Me - Thai Magazine Scans of hot, sexy, beautiful Thai women.
Talk vBulletin - Discussion Forum for vBulletin Enthusiast!
imported_Tom is offline
Reply With Quote
View Public Profile Visit imported_Tom's homepage!
 
Old 09-11-2006, 03:17 AM
Junior Talker

Posts: 126
Quote:
Originally Posted by Tom View Post
I dunno what mod_rewrite is... but i see a .htaccess file in my root and can edit it, so I'll add those lines.
All I gotta change is the "domain" part correct?

thanks so much guys!
Yeah, just change the "domain" to your actual domain.

After uploading, clear your browser cache and try the URL both with and without "www". If you get redirected to www then it probably works. Then you could test it further by going to a subpage, remove the www and then see if you get redirected to the corresponding page with www.

It's very IMPORTANT that you clear the cache before testing...

If you get some kind of "internal server error 500" or something else/weird happens then you probably haven't got access to mod_rewrite.

Also, if your .htaccess already contains something then do make a backup, so you'll be able to replace it if something doesn't work.
stefanjuhl is offline
Reply With Quote
View Public Profile Visit stefanjuhl's homepage!
 
Old 09-11-2006, 03:28 AM
imported_Tom's Avatar
$100 - $999 Monthly

Posts: 194
Thank you guys! got everything working now! w00t! You guys rock.
__________________
Left of Me - Thai Magazine Scans of hot, sexy, beautiful Thai women.
Talk vBulletin - Discussion Forum for vBulletin Enthusiast!
imported_Tom is offline
Reply With Quote
View Public Profile Visit imported_Tom's homepage!
 
Old 09-11-2006, 04:29 AM
Junior Talker

Posts: 60
I don't use the "www" for my blog and confused if I really need the "www".
Check this article:
Benefits of Removing ‘www’ From Your URL
http://wisdump.com/webmastering/bene...from-your-url/
drgrudge is offline
Reply With Quote
View Public Profile
 
Old 09-11-2006, 04:50 AM
kthdsn's Avatar
Junior Talker

Posts: 96
I prefer using the non-www version of my domains, but I don't think it matters whether you choose to have the www or not as long as all your visitors can get to your site. What really annoys me are those sites where www.domain.com takes you to their site but domain.com returns this page cannot be found.
kthdsn is offline
Reply With Quote
View Public Profile Visit kthdsn's homepage!
 
Reply     « Reply to Confused
 

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.15526 seconds with 12 queries