Redirections break subdomains

thoroughfare

Verified User
Joined
Aug 11, 2003
Messages
540
Hi,

I have a client who has a 'Site Redirect' so that when you access http://www.thesite.com/, it redirects to http://www.thesite.com/adirectory/.

They've added a new subdomain, but when accessed, it's simply redirecting to http://www.thesite.com/adirectory/.

His redirects are:

PHP:
Local URL Path  Redirect URL
/forum	http://www.floridastreetscene.com/forums	
/index.htm	http://www.floridastreetscene.com/forums	
/admin	https://rubix.retroweb.net:2222/

Any help much appreciated,
Matt :)
 
That's because the subdomain is implemented in DA as a subdirectory.

To make this work they should set up the subdomain as a completely separate domain.

Jeff
 
You could always get rid of the redirect, make a file called index.php, and put

PHP:
<?

header("Location: http://www.example.com/adirectory");

?>

edit: fixed code, Vb parsed the url even though its in the php tag o.o
 
Back
Top