MyBB Community Forums

Full Version: portal as homepage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

How can I set www.eforums.co.cc/portal.php as the homepage so when you visit www.eforums.co.cc the portal page will show up.

Regards,
George.
http://eforums.co.cc
Try creating a .htaccess file with just this code:

DirectoryIndex portal.php

Another way is to just create an index.html file with this code:

<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.eforums.co.cc/portal.php">


Either one you use, place it in the root folder where portal.php & index.php are located afterwards and test it out.
Adding...

DirectoryIndex portal.php

...to .htaccess will work - it doesn't need to be the only code though.
Worked, thanks.
This type of thing happens too often; I suggest making a sticky thread explaining how to do this. Smile
(2010-03-20, 08:50 AM)Kazuto Wrote: [ -> ]This type of thing happens too often; I suggest making a sticky thread explaining how to do this. Smile

That's what Search is for. Wink
Yeah, but it is easier to sticky it.
(2010-03-20, 09:33 AM)RhysH Wrote: [ -> ]Yeah, but it is easier to sticky it.

Yeah, that way people don't have to research hundreds of posts just to get what they're looking for. Smile
Exactly
If they made a sticky for every frequently asked question it would look a mess, the whole of page 1 would be stickies. Perhaps 1 sticky with answers to numerous frequently asked questions would be better.
Pages: 1 2