This must be a stupid question since it’s so commonly done.
I’ve saw an almost all websites which have files (or folders) which display as html code. (In the URL anyway).
Such as this one.
I have a local website which is later going to be deployed on the web.
Is it another sort of trick (JavaScript, CSS, HTML, PHP, AJAX)? (But I don’t think so)
This may have been asked before, I don’t know how to phrase the question.
Sorry if it’s a stupid question and the bad English.
Thanks for all your suggestions!
Actually most websites do this with mod_rewrite but you can also create a folder and put a
index.htmlin there and just type in the path to the folder in your address bar