changing default page for website

zonda

New Member
Messages
2
Reaction score
0
Points
0
in the file manager i was wondering how do i change the page that first comes up when i enter my domains name

ex.. randomsite.pcriot.com

and a page you dont want to show up is displayed
 

zonda

New Member
Messages
2
Reaction score
0
Points
0
well i supposed that would work but i already have a index.php

i just cant change my index.php cause all my pages are linking into it and i dont feel like changing the code on each of them
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Create a .htaccess file. Make sure you have view hidden files turned on.
Then put the following in it.
DirectoryIndex filename.html

Replace filename.html with the name of the file you want as your default page.
 
Last edited:
Top