We use cookies to improve our services and provide a better experience. By continuing to use this site, you agree with our Cookies Policy.

Tutorials
More than 400 step-by-step articles to guide you through online project development.
HomeTutorialsCMS TutorialsphpBB

How to Add an index.html Front Page to Forum

Brazil VPS
Windows Cloud Server
USA VPS
Germany Cloud Servers
Linux KVM Hosting
cPanel KVM
OpenVZ VPS
Linux Cloud Server
KVM VPS
Ubuntu VPS

First of all, you should note that adding an index.html front page to phpBB forum is not related to phpBB system in any way. It is a completely different part which you can add to the forum. Therefore, you should have index.html created for the front page itself.

Follow These Steps to Add an index.html Front Page to Forum

Once index file is created and ready to use, it should be uploaded to the root directory of phpBB installation. It should be the same place where forum files are located. There you also should find a file named “.htaccess” which needs to be edited. If you are using FTP client, simply download this file to the local drive and open with a file editor. Then put the following line at the very top of the file.

1
DirectoryIndex index.html index.php

This definition means that the browser should open file index.html and then index.php. It can be named whatever we like. For example, to set homepage as home.php, change index.html with home.php.

Finally, apply the changes by saving .htaccess file and upload it back to the server from which it was downloaded. From now whenever someone will visit http://domain.com/forum the browser will open a front page from index.html.

Brazil VPS
OpenVZ VPS
Linux Cloud Server
cPanel KVM
Windows Cloud Server
USA VPS
Linux KVM Hosting
KVM VPS
Germany Cloud Servers
Ubuntu VPS
Rate this Tutorial:
One Comment Leave a Comment
  1. Simon

    this is superb i spent hours trying to find
    a way of doing this.

    Many Many thanks for this :)

    do you know how to make the forum redirect to
    the front page after logging out?

    regards

    Simon

    Reply
Leave a Comment

Other (199)

Popular Keywords