Skip to content

Commit 399d55b

Browse files
authored
fix terms redirection
1 parent 02f48dc commit 399d55b

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

asmo/.htaccess

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,7 @@ RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
2828
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
2929
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
3030
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
31-
RewriteRule ^$ https://ocdo.github.io/asmo/#$1 [R=303,NE,L]
32-
33-
# Rewrite rule to serve HTML content
34-
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
35-
RewriteCond %{HTTP_ACCEPT} text/html [OR]
36-
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
37-
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
38-
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
39-
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
40-
RewriteRule ^$ https://ocdo.github.io/asmo/ [R=303,NE,L]
31+
RewriteRule ^(.*)$ https://ocdo.github.io/asmo/#$1 [R=303,NE,L]
4132

4233
# Rewrite rule to serve RDF/XML content
4334
RewriteCond %{HTTP_ACCEPT} ^.*application/rdf\+xml.* [OR]

0 commit comments

Comments
 (0)