on-internet
← Community

Using two html index pages with the same name but different extensions

Stack Overflow ·

I'm using two index pages with different contents and different extensions on my html site root folder, html and htm. The problem is that sometimes when I open my site in Chrome (or other browsers) I see the htm index file and sometimes vice versa. For various reasons (e.g avoiding 302 or 404 errors), I can't delete the htm index file. My questions are: 1. Why is this happening? 2. Which extension is more important in terms of priority in browsers view? 3. What are my options to overcome this problem? I have checked my html index file with applications like HTMLValidator and other services to

Comments

Sign in or sign up to comment and upvote.

No comments yet.