<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^([a-z0-9/-]+)\/?$ $1.php [NC]
 </IfModule>

