I had a file labelled index.html which was in the root directory and was the front page to my site.
I decided to make some changes, but wanted to leave that file as is, but create another file to replace it as the front page for the site.
I named this new file index.shtml
I then used directive in .htaccess as follows
DirectoryIndex index.shtml index.html index.htm index.php
my understanding being that if someone typed in [
mysite.com...] it would display index.shtml instead of the original index.html
I also understood that for all directories it would first look for the index.shtml file, then the index.html then...
Here's the part I don't understand.
In my Google analytics, it's showing page visits to mydomain.com/subdirectory/index.shtml, even though that file doesn't exist.
That's happening in a number of subdirectories. So, the questions. Is there some explanation for the analytics showing this?
Is there an easier or other way to have both an index.html and an index.shtml in the same root directory?
Thanks