diff --git a/biolink/biolinkml/.htaccess b/biolink/biolinkml/.htaccess index 241fd765c..36c9eb4de 100644 --- a/biolink/biolinkml/.htaccess +++ b/biolink/biolinkml/.htaccess @@ -8,12 +8,21 @@ RewriteRule ^meta\/(.*)$ docs # type/ --> docs/types RewriteRule ^type\/(.*)$ docs/types +# mapping/ --> docs/types +RewriteRule ^mapping\/(.*)$ docs/mappings + # types --> includes/types RewriteRule ^types(\/?)$ includes/types +# mappings --> includes/mappings +RewriteRule ^mappings(\/?)$ includes/mappings + # types.sfx --> includes/types.sfx RewriteRule ^(types\.)(.+)$ includes/types.$2 +# mappings.sfx --> includes/mappings.sfx +RewriteRule ^(mappings\.)(.+)$ includes/mappings.$2 + # Poor man's conneg # ------------------------------------ @@ -49,3 +58,4 @@ RewriteRule ^(meta)$ meta.shex [L] # Rewrite Base URL RewriteRule ^(.*)$ https://biolink.github.io/biolinkml/$1 [R=302,L] +