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.
How do is set my forum portal as the homepage?

I'd like www.mydomain.com to go to the portal.

My forum board is www.mydomain.com/forums/
And my portal is www.mydomain.com/forums/portal.php

I've already tried adding 'DirectoryIndex portal.php index.php index.html ' to the .ht
(2012-09-03, 12:43 AM)akito tenkawa Wrote: [ -> ]try this portal redirect for 1.6 Smile

Tried that but that isnt what i want because my forum is currently at mydomain.com/forums/

there is currently nothing at mydomain.com itself
you could try an html redirect form mydomain.com to mydomain.com/forums/portal.php

<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.mydomain.com/forums/portal.php"></HEAD>
<BODY>
any text here.
</BODY>
</html>

put this in your index.html or php at mydomain.com Smile
(2012-09-03, 12:36 AM)Acid Wrote: [ -> ]How do is set my forum portal as the homepage?

I'd like www.mydomain.com to go to the portal.

My forum board is www.mydomain.com/forums/
And my portal is www.mydomain.com/forums/portal.php

I've already tried adding 'DirectoryIndex portal.php index.php index.html ' to the .ht

Did you place the .htaccess file inside of /forums/ and not just in the main directory? That's probably why it didn't work for you.
(2012-09-03, 01:57 AM)Known Wrote: [ -> ]
(2012-09-03, 12:36 AM)Acid Wrote: [ -> ]How do is set my forum portal as the homepage?

I'd like www.mydomain.com to go to the portal.

My forum board is www.mydomain.com/forums/
And my portal is www.mydomain.com/forums/portal.php

I've already tried adding 'DirectoryIndex portal.php index.php index.html ' to the .ht

Did you place the .htaccess file inside of /forums/ and not just in the main directory? That's probably why it didn't work for you.

Yes i did, i tried both.

And as to pavemans tutorial, i attempted it but didnt quite understand some parts.

I'm going to try some of the other things people have sugested, thanks.

(2012-09-03, 01:13 AM)akito tenkawa Wrote: [ -> ]you could try an html redirect form mydomain.com to mydomain.com/forums/portal.php

<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.mydomain.com/forums/portal.php"></HEAD>
<BODY>
any text here.
</BODY>
</html>

put this in your index.html or php at mydomain.com Smile

Modified this code a bit and got it working, Thanks!