javascript - Chrome / Mozilla - Mask html file name (index.html) to HomePage -


i have html pages prototype. if open .html file in browser, shows index.html, page1.html etc @ brows...

what boss wants is, dont want clients feel these not .html pages. instead has rename either index.html index or homepage...

please refer below image clear idea...

i know can done jsp/php etc... but, these static html pages , times sending these html pages client directly. in case, cannot ask client install server... there tricky part :(

i know weird, boss right :)

enter image description here

or

enter image description here


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -