aolko/the-better-locklegion/master/.htaccess - Htaccess File

aolko/the-better-locklegion/master/.htaccess

php_value upload_max_filesize 100M
php_value post_max_size 100M
php_flag short_open_tag on
AddType application/octet-stream fla
RewriteEngine On
ErrorDocument 404 404.php
RewriteBase /
RewriteRule ^xml/(.*)$ $1.xml
RewriteRule ^user/([A-Za-z0-9-]+)$ profile.php?username=$1
RewriteRule ^user/([A-Za-z0-9-]+)/posts$ posts.php?username=$1
RewriteRule ^community/([A-Za-z-]+)/([0-9]+)?$ community.php?cat=$1&page=$2
RewriteRule ^community/([0-9]+)?$ community.php?page=$1
RewriteRule ^community/([0-9]+)-[A-Za-z0-9-]+/$ topic.php?tId=$1
RewriteRule ^community/([0-9]+)-[A-Za-z0-9-]+/([0-9]+)$ topic.php?tId=$1&page=$2
RewriteRule ^community/([0-9]+)-[A-Za-z0-9-]+/(jump-[0-9]+)$ topic.php?tId=$1&jump=$2
RewriteRule ^users/([a-z]+)(-[a-z]+)?/?([0-9]+)?$ users.php?sort=$1&order=$2&page=$3
RewriteRule ^collections/([a-z0-9]+)/$ collections/$1.php
RewriteRule ^redirect/([a-z-]+)/$ redirect/$1.php
RewriteRule ^([a-z0-9-]+)/$ $1.php

On Github License

Files

Download PDF of Htaccess file

Comments

Apache