Lexiconga/.htaccess

14 lines
661 B
ApacheConf
Raw Normal View History

RewriteEngine On # Turn on the rewriting engine
RewriteRule ^view/([0-9]+)/([0-9]+)/?$ index.php?dict=$1&word=$2 [NC,L] # Handle word ids.
RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?dict=$1&word=$2 [NC,L] # Handle word ids.
RewriteRule ^view/([0-9]+)/?$ index.php?dict=$1 [NC,L] # Handle dictionary ids.
2016-06-16 21:41:14 +02:00
RewriteRule ^([0-9]+)/?$ index.php?dict=$1 [NC,L] # Handle dictionary ids.
2017-08-23 00:19:58 +02:00
RewriteRule ^issues/?$ https://gitlab.com/Alamantus/Lexiconga/issues [R=301,L] # Shorten issues url.
2016-06-16 21:41:14 +02:00
2017-08-23 00:19:58 +02:00
RewriteRule ^updates/?$ https://gitlab.com/Alamantus/Lexiconga/wikis/updates [R=301,L] # Shorten updates url.