MyBB Community Forums

Full Version: How to get rid of index.php in navigation ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is my forum:

In the navigation, LIBEROMANIA points to index.php.

I need to point to the domain.

Please help.
Open up /global.php, find in line 506 (as in 1.4.13):
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";
Remove index.php and save. However, the logo will still be pointing to index.php, and for that you only have to edit a template.

Open up the header template, find:
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
Remove index.php, save and you are done.
Thank you favious, rep given.