PDA

View Full Version : Making my domain name go straight to forums


2fast4ya
04-08-2009, 06:31 PM
How do I make it so that when people type my domain name, it goes straight to my forums? I've noticed forums that do that... including vbulletin.org... you type the address... and it goes directly to /forums/index.php

Thanks

mrtroybaker
04-08-2009, 06:48 PM
You need your forum index to be in your root directory

Videx
04-08-2009, 07:29 PM
Wouldn't that require moving his whole forum though? Much easier might be to just use a redirect (http://www.webweaver.nu/html-tips/web-redirection.shtml).

mrtroybaker
04-08-2009, 07:38 PM
Yes it would and yes a redirect would work. I answered on the basis there was nothing there as of now. So yes, if you have a forum up and running a redirect would be the way to go.

2fast4ya
04-08-2009, 09:28 PM
is the .htaccess the only redirect option? Is there anything a bit more simple?

Brother Malachi
04-08-2009, 09:56 PM
In your root directory make an index.php file then add this:
<?php
header("Location: http://www.blah.com/forums");
?>

and make sure there is nothing else in that file.