Forum Moderators: open
So I was pondering changing it over to index.html, but I always get nervous when 301-ing a home page. Is there any search benefit to index.html over default.asp? Should I even consider doing this, or does it not matter?
Thanks!
A: Neither!
You should be using the URL http://www.example.com/ for the root of the site, and letting the server serve whatever file corresponds with that, without revealing what that filename is.
Indeed, on most of the sites that I deal with, any client asking for
(([^/]+/)*)(index¦home¦default)\.(s?html?¦php[45]?¦[aj]spx?¦cfm) is redirected to the canonical slash-ended URL.
I knew this was transparent to the user, but wasn't sure if spiders could detect this info, (maybe from the HTTP header info xor backlinks to the home page from other, pre-existing pages on the site / external sources)... And furthermore, I don't know if SEs (primarily google) had a preference.
I guess that is my question. I have a strong understanding of the fundamentals of setting up a server for proper forwarding, just need to know if, properly forwarded, it makes any difference to use default.asp or index.html?
According to your previous reply, (and g1smd's post), you will be redirected (301 presumably) to http://www.example.com/ from either of your proposed file names.
The content served at http://www.example.com/ is the same, regardless of the file name.
As such, the file is irrelevant.
Or, to put it another way, Google cannot see what file you are using now, and will not in the future. Changing is therefore a personal preference