
Originally Posted by
angolanmade
im still unable to get
www.mysite.com to redirect to mysite.com. but some how i have managed to get this working
Sorry, I don't understand. You say you can't get it working, but can get it working. 
You need to be very clear about what you want your htaccess file to do. You must choose either www or non-www. You can't have both because Hotaru cookies won't work with both. [Edit: sorry, I just noticed you were very specific about your goals in post #7]
My .htaccess file successfully redirects www.example.com to example.com. It allows subdomain.example.com. It looks like this:
Code:
#############################
##### EDIT THIS SECTION #####
#############################
Options +Indexes +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.japansoc\.com [NC]
RewriteRule ^(.*)$ http://japansoc.com/$1 [R=301,L]
################################################
##### DON'T EDIT ANYTHING BELOW THIS POINT #####
################################################
I have not seen a working .htaccess file for only www. links. If anyone has one, please share.
Bookmarks