The URLs for my website end with .html
, .php
, or .asp
depending on the types of files to which they relate - and show in my browser's address bar as such; but I do not want the file extensions to show.
For example, I would like a URL for a page on my site like
http://my.special.site/somepage.php
to instead be:
http://my.special.site/somepage
I have read about using .htaccess
to do this but do not really know where to start.
How are URLs like https://stackoverflow.com/questions/ask (i.e. that do not end with a file extension) made?