Categories Uncategorized .htaccess hide “.php” extension and custom 404 page Post author By Stephen H Post date June 7, 2014 RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteEngine on ErrorDocument 404 /spel/template/404 ← Step-by-Step Installing Citadel Mail Server on CentOS → Rip Entire Websites with wget