I'm building a mobile html site for a client who has a php site. I have a php mobile redirect script I could insert into the client's index.php file, however he wants a landing page which allows the mobile user to choose between the mobile site and the regular site. If I have the redirect script point to the mobile landing page, when the mobile user clicks on the option for the regular site, it will keep bringing them back to the landing page. So I was thinking of naming the landing page as index.html (with the redirect script on it) to differentiate between that and the regular site's index.php. I am just wondering if this is possible, and if so, will the browser access the index.html extension by default over the php when the root domain is entered in the address bar? I hope my question is not too confusing.
#browser #detection #question