2011-04-30, 05:43 AM
Hey Guys
So I am using a www .htaccess redirect for my website and for some reason when I try to visit the blog (which is a subdomain) it is putting the www. in front of that and putting the subdomain extension at the end.
It should be:
http://blog.socialdisease.net
However it is coming out as
http://www.blog.socialdisease.net/blog
Rendering it completely unusable.
Any ideas?
So I am using a www .htaccess redirect for my website and for some reason when I try to visit the blog (which is a subdomain) it is putting the www. in front of that and putting the subdomain extension at the end.
It should be:
http://blog.socialdisease.net
However it is coming out as
http://www.blog.socialdisease.net/blog
Rendering it completely unusable.
Any ideas?
RewriteEngine on
RewriteCond %{HTTP_HOST} ^socialdisease\.net
RewriteRule (.*) http://www.socialdisease.net/$1 [R=301,L]