goto .html as default not .php

.m0zilla

New Member
hey

i got my domain with my forums index.php in root and ive uploaded a .html file into root and it wont goto that it will only goto the index.php file not index.html as i would like it to how can i make it do that ??

Thanks
 
bro your host had set that first goto index.php instead of index.html in apache configuration, some this like below
<IfModule dir_module>
DirectoryIndex index.php index.html
why dont u rename ur index.php file to some other like index_.php then try it will go to index.html or not if not contact ur host he may do the needful
 
Itsuki Minami said:
create a .htaccess file and put it in your forum root then add this line to the fiel you just created



and that will do the trick

i did that in the vbseo .htaccess file and still doesnt work and i cant rename index.php as its used for my vb forum

EDIT: i removed the vbseo htaccess file and it will goto .html and not .php but i need the vbseo htaccess file there so what do i do??

thanks
 
warezmagic said:
i did that in the vbseo .htaccess file and still doesnt work and i cant rename index.php as its used for my vb forum

Actually you can rename the index file. Just rename it to the likes of index2.php, then in the admin cp go to vb options. There is an option(i think it is in forum home page settings or something like that) and there should be a option that wants to know the name of your index file. just change it from index to index2.

Forgive the lack of specific detail but browse around the vb options, you will find it. I have done this before and it worked fine.
 
Back
Top