MyBB Community Forums

Full Version: .htaccess file - no DirectoryIndex appearing?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

I am trying to change my forum homepage and I found several tutorials which told me to edit the .htaccess file:
DirectoryIndex custom-page.php

instead of

DirectoryIndex index.php

However, when opening the .htaccess file with Notepad++, I cannot find a DirectoryIndex anywhere.
This is my .htaccess file:
http://puu.sh/pR0Qp/bcb911c8d1.txt

Do I have to add it to the code, or am I opening the wrong file? Thank you for your help.
that code needs to be added - can be like below
DirectoryIndex custom-page.php index.php index.html index.htm
(07-05-2016, 11:59 AM).m. Wrote: [ -> ]that code needs to be added - can be like below
DirectoryIndex custom-page.php index.php index.html index.htm

Thank you very much, that worked.