stuporglue/newspapercms/master/.htaccess
<IfModule mod_rewrite.c> RewriteEngine On # Always append a trailing slash RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !/$ RewriteRule . %{REQUEST_URI}/ [R=301,L,QSA] # Redirect all requests to index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L,QSA] </IfModule>
Files
![REQUEST_FILENAME, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/stuporglue/newspapercms-htaccess-298x250.png)