Default page priority


#1

whats the default priority for the index page?
so if i uploaded “index.php” and “index.html” in the root which will be the default?

index.html
index.php
default.htm
default.php
main.xxx (???)
more.yyy(???)

anyone know?



#2

either index.php or index.html will be default.
Though, it depends on what kind of page you're using, either a php one or html one.


#3

index.html or index.php. You can link to other pages.


#4

let me recap.

so if i uploaded “index.php” and “index.html” in the root which will be the default?

i want to know which has priority over the others.

[edit] did it my self. if anyone cares this is order by priority.
1)index.php
2)index.html
3)default.php
(default.html doesn’t show)



#5

Okay, grats :slight_smile: Now you know which ones to show, lol


#6

Happens to me all the time, finding some answers but finds it myself a few minutes later.
Sounds like you were too lazy to check for yourself :stuck_out_tongue:


#7

+1, lol...


#8

just wanted to know if anyone already knew it, lol. but yes, it was due to lazyness.



#9

Wow, you could've figured out yourself in like, 2 minutes ._.


#10

someone could have answered it in like, 30 seconds >_>.
unfortunately, nobody knew.



#11

someone could have answered it in like, 30 seconds >_>.
unfortunately, nobody knew.



#12

nobody knew

You're just asking the wrong people! :smiley:

By the way, you can change the order/priority to whatever you want in .htaccess

Just add:

DirectoryIndex index.php index.html index.htm

#13

ah! that’s exactly what i need.