2019-05-28 07:51:28 +02:00
|
|
|
RewriteEngine On # Turn on the rewriting engine
|
|
|
|
|
2019-06-06 21:14:46 +02:00
|
|
|
RewriteRule ^view/([0-9]+)/([0-9]+)/?$ router.php?view=word&dict=$1&word=$2 [NC,L] # Handle word ids.
|
2019-05-28 07:51:28 +02:00
|
|
|
|
2019-06-06 21:14:46 +02:00
|
|
|
RewriteRule ^([0-9]+)/([0-9]+)/?$ router.php?view=word&dict=$1&word=$2 [NC,L] # Handle word ids.
|
2019-05-28 07:51:28 +02:00
|
|
|
|
2019-06-06 21:14:46 +02:00
|
|
|
RewriteRule ^view/([0-9]+)/?$ router.php?view=dictionary&dict=$1 [NC,L] # Handle dictionary ids.
|
2019-05-28 07:51:28 +02:00
|
|
|
|
2019-06-06 21:14:46 +02:00
|
|
|
RewriteRule ^([0-9]+)/?$ router.php?view=dictionary&dict=$1 [NC,L] # Handle dictionary ids.
|
2019-05-28 07:51:28 +02:00
|
|
|
|
2019-06-06 21:17:00 +02:00
|
|
|
RewriteRule ^/?(index.html)?$ router.php [NC,L] # Handle dictionary ids.
|
|
|
|
|
2019-05-28 07:51:28 +02:00
|
|
|
#RewriteRule ^issues/?$ https://github.com/Alamantus/Lexiconga/issues [R=301,L] # Shorten issues url.
|
|
|
|
|
|
|
|
#RewriteRule ^updates/?$ https://github.com/Alamantus/Lexiconga/releases [R=301,L] # Shorten updates url.
|