
04-25-2005, 04:09 PM
|
 |
|
|
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Blam Forumz
Hello everyone, I have this at the top of my global.php
Code:
$YOUR_DOMAIN = "forum.downwithipod.com"; // EDIT TO YOUR SETTING!
$FORUM_DIRECTORY = "forum"; // EDIT TO YOUR SETTING!
if($_SERVER['SERVER_NAME'] != $YOUR_DOMAIN){
header("Location: http://{$YOUR_DOMAIN}".str_replace("{$FORUM_DIRECTORY}/","",$_SERVER['REQUEST_URI']));
}
it is to force a subdomain redirect, now I use vBa CMPS, which calls the global.php file at the begining of it, so since its calling the global.php, its redirecting my homepage to the forums
Anyhelp?
thank
|
Theres no reason for it to redirect to the index .....
|