Using a server rewrite, a url such as http://example.org/jesse could read from http://example.org/jesse.php. However, in the content management system the link would go to the .php version. How can the URL be rewritten from:

<a href=”http://example.org/jesse.php”>Jesse</a>

to:

<a href=”http://example.org/jesse”>Jesse</a>

Another use case might be that /index.html should be replaced with /. This variation is explained towards the bottom.
Step 1: […]