MyBB Community Forums
How to get rid of index.php in navigation ? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: How to get rid of index.php in navigation ? (/thread-78187.html)



How to get rid of index.php in navigation ? - liberomania - 2010-09-12

This is my forum:

http://liberomania.com/thread-10.html

In the navigation, LIBEROMANIA points to index.php.

I need to point to the domain.

Please help.


RE: How to get rid of index.php in navigation ? - adbrad - 2010-09-12

try this
http://community.mybb.com/thread-77141.html?highlight=index.php


RE: How to get rid of index.php in navigation ? - faviouz - 2010-09-12

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.


RE: How to get rid of index.php in navigation ? - liberomania - 2010-09-12

Thank you favious, rep given.