Hey there,
thanks so much for your help in the past.
I'm having a bit of brain fart here...
I have the code below which is working great
[code]
Options +FollowSymLinks
# Url to www.url Redirects
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [L,R]
[/code]
However I want to add a sub domain to the mix, with out it changing my subdomain abobe to a 400 error page.. because its redirecting the sub domain to something thats not there.
basically I have demo.url.com I want to add, and have it goto path.com/demo/ or demo/index.php etc
I've done all the vhost / paths etc, however if I turn the above code off it works but if I turn it on it makes it when I type demo.url.com into www.demo.url.com/demo
when I just want it to stay as demo.url.com/ or demo.url.com/index.php
and keep it so that if someone types url.com it auto forwards it to www.url.com as normal.
that make sence?
Any help would be greatly appeciated :D
Rob