It is currently Fri Apr 19, 2024 1:08 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

Code: Select all
<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 1:02 pm
from: IntegraMOD
Article type: Tutorial
Viewed: 1042
Rating: 0/5 (0 Ratings)

[ View topic ]

Return to Setup and Management


cron