Skip to content

Commit bf80083

Browse files
authored
Refactor .htaccess rewrite rules for SEO ontology
Removed duplicate default response rule for owl and adjusted rewrite rules.
1 parent 0bb1358 commit bf80083

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

seo/.htaccess

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ AddType text/turtle .ttl
1515

1616
RewriteEngine on
1717

18+
#default response owl
19+
RewriteRule ^$ https://raw.githubusercontent.com/saidfathalla/SEOontology/master/SEO.owl [R=303,NE,L]
20+
1821
#Rewrite rules for semsur vocabulary
1922
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
2023
RewriteCond %{HTTP_ACCEPT} text/html [OR]
@@ -32,5 +35,3 @@ RewriteCond %{HTTP_ACCEPT} text/turtle [OR]
3235
RewriteCond %{HTTP_ACCEPT} \*/turtle
3336
RewriteRule ^$ https://raw.githubusercontent.com/saidfathalla/SEOontology/master/SEO.ttl [R=303,L]
3437

35-
#default response owl
36-
RewriteRule ^$ https://raw.githubusercontent.com/saidfathalla/SEOontology/master/SEO.owl [R=303,NE,L]

0 commit comments

Comments
 (0)