Hi guys,
Just to explain:
* I currently have
http://www.site.com
* I can easily setup a redirect from
http://site.com to
http://www.site.com using:
Code:
RewriteCond %{HTTP_HOST} !^www\.site\.com$ [NC]
RewriteRule ^(.*)$ http://www.site.com/$1 [R=301,L]
* I use subdomain.site.com to link to certain dynamically created pages (index.php?site=subdomain
So using the above htaccess data will redirect everything to
http://www.site.com, I only want it to direct
http://site.com to
http://www.site.com.
I've tried and tried but can't seem to get it to work I just get server errors.
So any help would be appreciated guys !
Cheers,
Nathaniel Freeman