Can I rename my index.php (phpBB2) to something else?

MaxDSP

Lifer
May 15, 2001
10,056
0
71
I just installed it on my website, but i dont want it to have a generic name like index.php. Right now, its /phpBB2/index.php

Can I also change that folder name without problems?
 

Skyclad1uhm1

Lifer
Aug 10, 2001
11,383
87
91
Yes, you just have to make sure that all pages using that file know where to find it instead.
Don't change the extension though, else browsers will (try to) look at it differently.
 

bigrash

Lifer
Feb 20, 2001
17,648
28
91
For phpBB2 I recommend you do not change the index.php file. There's too many other files that use it.

May I ask why you want to rename it?
 

MaxDSP

Lifer
May 15, 2001
10,056
0
71


<< For phpBB2 I recommend you do not change the index.php file. There's too many other files that use it.

May I ask why you want to rename it?
>>




well, for example, rallispec's forums have a /forums2/index.php, but mine is www.mydomain.com/phpBB2/index.php. Would it be better if I just renamed the phpBB2 folder to something meaningful, like /forums/index.php?

 

ILikeSprite

Banned
Oct 14, 2001
1,772
0
0
you mean the directory and not the file? :confused: if it's just the directory then yeah, i'm sure you could do that.
 

bigrash

Lifer
Feb 20, 2001
17,648
28
91
well the index.php you should leave as is.

the directory you can name it whatever you want. If you take a look at my forum the directory is forums, that's why it's bigrash.com/forums
 

MaxDSP

Lifer
May 15, 2001
10,056
0
71


<< you mean the directory and not the file? :confused: if it's just the directory then yeah, i'm sure you could do that. >>




hehe, sorry about the confusion. I decided (per the advice of bigrash) to just rename the foler to something else. Ill leave the index.php as it is. Dont fix it if it aint broke :D

Thanks guys