Jump to content

[Sug] Rename index.php

Featured Replies

Posted

I would like to see the ability to rename the main forum index.php file

Ideally there would be a setting in the conf_global.php file where the main index.php file could be renamed.

This would be a great feature that I would like to see.. I could keep everything in the same directory and use my regular site, instead of forums.

Unfortunately, things like Apache and the likes LOOK for index.php (or index.htm / index.html etc) to autoload your website, when you specify www.yoursite.com/forum without you having to type the /index.php at the end.

currect, but we would use another index.xxx file for that ;)

  • 4 months later...

Same qs. here.

anu rename index.php

into something like hum.php?

huh?

Just curious.

Why? I'm assuming so you could keep it all in the same directory, but just have a different frontpage, hence renaming IPB's index.php?

Good idea.

Why not just have index.html as well as index.php

.html will be recognised before .php

That is what I have at my site.

So if you ever find my site, you will notice you are taken to mysite.com/index.html, and from there you can navigate to the forums, which are stored at mysite.com/index.php

The setting is controlled by Apache DirectoryIndex in httpd.conf, if I'm on the right lines. If index.php is before index.htm(l), it will check and see if the PHP file's there in the first place, then the HTML. Different hosts may have different settings for this.

Well i used VB once and this feature is implanted in there, anybody knows why it works fine there and couldnt work fine as well here?!

Just write a .htaccess file that has

DirectoryIndex home.php

And then call your main site home.php. Assuming you have the proper overrides set, it should load up home.php by default.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.