Last visit was: Wed Sep 03, 2025 10:05 pm

It is currently Wed Sep 03, 2025 10:05 pm

Changing the default page to portal.php

Changing the default page to portal.php instead of index.php


There are two main schools of thoughts on this and both are documented below

1) Create a .htaccess file and put this line in it

DirectoryIndex portal.php index.php

put this file in your forum root :)

2) Using notepad, add this code

<html>
  <head>
  <title>index</title>
<META HTTP-EQUIV="Refresh"
      CONTENT="0; URL=http://YOUR URL/portal.php">
  </head>
</html>


edit the url to point to your directory and
save it as index.html and put it in your web root

Note re Windows: If you are having trouble creating or editing a file named .htaccess, make sure you are using a text editor such as notepad or editplus. Windows does not like file names starting with . (a dot)
Released on: Thu Feb 20, 2014 2:02 pm
from: IntegraMOD
Article type: Tutorial
Viewed: 2536
Rating: 0/5 (0 Ratings)

[ View topic ]

Return to Setup and Management