+ 4

Why it is advised to keep the first page name as index.php / index.html???

29th Jul 2017, 7:52 PM
Abhishek Kumar
Abhishek Kumar - avatar
2 odpowiedzi
+ 3
It's because when you use internet browser and go to some page www.example.com, browser automatically loads index page (unless it's specified differently in the configuration). www.example.com is in the default case www.example.com/index.html (or php) Maybe you noticed that in a page URL when you go to that page there is not index.html/php, it still loads index. *short answer: its easier, but if you really don't like it, just add redirections to other htmls in index.html
29th Jul 2017, 8:04 PM
Stamen
Stamen - avatar
0
If it's called homepage.html, the page must be www.mywebsite.com/homepage.html for the page to load.
24th Aug 2017, 3:39 PM
Super Gamer
Super Gamer - avatar