This commit is contained in:
flash 2015-04-05 18:35:00 +02:00
parent 4d987207ad
commit 579971f497

View file

@ -14,16 +14,18 @@ RewriteBase /
Options +FollowSymLinks -Indexes Options +FollowSymLinks -Indexes
# Rewrite Rules # Rewrite Rules
RewriteRule ^feedback?/? http://forum.flash.moe/viewforum.php?f=22
# Remove .php from the url RewriteRule ^credits?/? credits.php
RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^index?/? index.php
RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^login|register|forgotpassword?/? authenticate.php
RewriteRule ^(.*)$ $1.php RewriteRule ^donate?/? donate.php
RewriteRule ^contact?/? contact.php
## Info pages ## Info pages
RewriteRule ^r/([a-z]+)$ infopage.php?r=$1 RewriteRule ^r/([a-z]+)$ infopage.php?r=$1
## News ## News
RewriteRule ^news?/?$ news.php
RewriteRule ^news/([0-9]+)$ news.php?id=$1 RewriteRule ^news/([0-9]+)$ news.php?id=$1
RewriteRule ^news.xml$ news.php?xml RewriteRule ^news.xml$ news.php?xml