Apache Url Rewrite or mask to remove extensions as .php

I’m trying to url rewrite in my Apache but I’m not sure which one it is. For example if someone goes to www.example.com clicks on a tab in there, and by default it would be www.example.com/profile.php
How can I rewrite it for www.example.com/profile/ or better, www.example.com without /profile/

Source: apache

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.