MyBB Community Forums

Full Version: index.php to home.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello
i want change the file called index to home.php
and i do it but in the index page under home.php that it was index.php it redirect me to the old index.php

click---> accuille = index.php (false)
click---> accuille = home.php (true)

this is what i want whene i m in my index page and i click back to home i go to the new modified page not the index.php page

what file should i modifie
no i don't mean this i mean
i was creat a new index.php not worked wih my forum and i change the name of the old index.php to home.php

but now i need whene user click on top of the forum on index they redirect to home.php
that's it
take a look t this
www.h-police4law.tk/index.php
and
www.h-police4law.tk/home.php

and try click on the top of home.php to go index page
Edit the header template and change index.php to home.php. You'll also need to edit this bit in the global.php file:

$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";
this is my header
Quote:<a name="top" id="top"></a>
<div id="header">
{$welcomeblock}
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}


{$pending_joinrequests}

<center>{$fbconnect}<br>

</div>

</center>
<navigation>
<br />
Can you please post your forum's URL ? It might be in header_welcomeblock_guest OR header_welcomeblock_member template.
http://www.h-police4law.tk/index.php
and
http://www.h-police4law.tk/home.php
now it still the bar where

home-search-member list-calander

the home still redirect me to ./none
and none = index.php
http://www.h-police4law.tk/
If you want just the .com can you do this?
$navbits[0]['url'] = $mybb->settings['bburl'].;
Technically, no. You only need that extra dot at the end if you were concatenating it with index.php, so it should be like this:

$navbits[0]['url'] = $mybb->settings['bburl'];

You also need to edit the header template and remove the index.php bit.
Okay thank you faviouz....going to do that right now...