MrSp33dy123/TheMemeldex/master/site/.htaccess
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.+?)/?$ $1.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^(.+?)/?$ $1.html [L] ErrorDocument 404 /404errorpage.php
Files
![REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/MrSp33dy123/TheMemeldex-site-htaccess.png)