TheBuzzer
HACK THE WORLD!
- Joined
- Aug 15, 2005
- Messages
- 13,023
http://www.hardforum.com/ is the real site for the forums however
http://hardforum.com/
http://www.hardforums.com/
http://hardforum.com/
all work.
I would suggest a simple code like this:
this way people will all be on the same url and linking problems won't be an issue.
http://hardforum.com/
http://www.hardforums.com/
http://hardforum.com/
all work.
I would suggest a simple code like this:
Code:
if (getenv("HTTP_HOST") == 'hardforum.com' || getenv("HTTP_HOST") == 'www.hardforums.com' || getenv("HTTP_HOST") == 'hardforums.com' ) {
header( 'Location: http://www.hardforum.com'.$_SERVER["REQUEST_URI"] ) ;
exit;
}
this way people will all be on the same url and linking problems won't be an issue.