MyBB Community Forums

Full Version: Homepage.php as index
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey there, i created a new page, is there a way to show homepage.php as the index? thanks in advance
Yep, set homepage.php as the DirectoryIndex in your .htaccess file Smile

DirectoryIndex homepage.php index.php index.html
Thank you Wink
I can add this anywhere in the .htaccess file?
Yeah, it should be okay to add anywhere.
Shorten it to "home.php"

"homepage" seems long, "home" seems short & clean.
Easier to change mybb's index.php to something like forum.php and then edit your homepage.php to be index.php.
(2012-01-06, 09:21 PM)labrocca Wrote: [ -> ]Easier to change mybb's index.php to something like forum.php and then edit your homepage.php to be index.php.

i disagree. a simple edit to htaccess and then add/change the "Home" menu option in the mybb header and you are all set.
I just don't like changing it to forum.php too.
Just an obsessive thing for me I guess, I prefer it as home/portal .php
it works, thank you Wink
Trinit, nice to see you used "home.php", but your navigation links to "homepage.php", just a FYI! Smile
Pages: 1 2