Forum Moderators: phranque
but....
I've not been able to get
[sub.domain.com...] to redirect to
[sub.domain.com...]
I've read here
[webmasterworld.com...]
and ended up with this but it is not working
RewriteEngine on
RewriteCond %{HTTP_HOST} ^sub\.domain\.co\.uk
RewriteRule ^(.*) [sub.domain.co.uk...] [L,R=301]
any ideas?
thanks
Are you sure that this code is located in a directory that will be accessed when sub.domain.com is requested? If the code is not in the server path for those subdomains, then it will not be executed.
Are your DNS records and server configured to resolve and handle arbitrary subdomains?
Jim