How to change index.php to forum.php?

Started by greekandromancoins, November 18, 2005, 04:20:01 AM

Previous topic - Next topic

greekandromancoins

Hi all, I was wondering if anyone could help me with this quick question?

I want to change the file forum/index.php to be named forum/forum.php. For integration reasons, I think it's easier if I insert the forum.php code into a page of my store rather than the other way around.

So far, changing the name and editing the location of "settings.php" in the file works, only that ALL links in the forum still have "index" in them. I can't find how to change this.

Thanks for any help.

Kind Regards,

Peter

(hxxp:www.greekandromancoins.com [nonactive])

Thantos

Obviously rename the file and then edit the file QueryString.php found in your Sources directory.
Find
        // Makes it easier to refer to things this way.
        
$scripturl $boardurl '/index.php';

replace with
        // Makes it easier to refer to things this way.
        
$scripturl $boardurl '/forum.php';

greekandromancoins

Thanks for that! Works perfectly! All I have to do now is to find a way to stop those "header already sent errors" from popping up everytime I hit "login" etc...

Kind Regards,

Peter

Advertisement: