CodeClerks

Does homepage have to be named index.html?



Enter a reason for deleting this comment

Does homepage have to be named index.html?

What if you named your homepage home.html or something else and then just linked to it from all pages with the 'Home' button or link. Would it matter that your home page was not named index.html?

Comments

Please login or sign up to leave a comment

Join
anshu123

iT is good practice. But if you want to keep your home page with another name, You can do it by doing some work in htaccess under server. You can make extension for home page which you want to show for user and search engine but the name will be index.html. so you get command over naming for home page.




Are you sure you want to delete this post?

Beverly

On one of my very first sites, home.html was the default name for the home page. I'm not sure if it makes a difference in Google what you name your home page. I rarely work with static html sites anymore, but if it were me, I'd just stick with the index.html extension, just in case it's a big deal.




Are you sure you want to delete this post?

anshu123

yes, you should make your homepage as index.html. If you like to show this name changed for user you can do some work in htacess folder under cpanel




Are you sure you want to delete this post?

dennis123

Hello Caitlin,
At first, Home page means what first the user see when enters the site & index.html is the page which loads first when site is loaded. So you should use home page as index.html.




Are you sure you want to delete this post?

Ophelia

On one site, I had an index.html and index.htm page. They were two distinct pages, not even related. Only one led to the home page when people clicked through from Google Search.




Are you sure you want to delete this post?

postcd

no, it dont have to be. It can be index.php but also anything else. But if not index.* then you need to create .htaccess file and set index filename here. Like: DirectoryIndex myhomepage.php




Are you sure you want to delete this post?

xpertdotmedia

by default its index.html




Are you sure you want to delete this post?