1
0
Fork 0
mirror of https://github.com/Alamantus/Lexiconga.git synced 2025-03-21 19:08:56 +01:00
Lexiconga/.htaccess

13 lines
670 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 13:41:14 -06:00
RewriteRule ^([0-9]+)/?$ index.php?dict=$1 [NC,L] # Handle dictionary ids.
RewriteRule ^issues/?$ https://github.com/Alamantus/DictionaryBuilder/issues [R=301,L] # Shorten issues url.
RewriteRule ^updates/?$ https://github.com/Alamantus/DictionaryBuilder/releases [R=301,L] # Shorten updates url.