How to display website URL without file extension ?

Some client doesn't like to show their file extension [...]