Skip to content

Commit 73f4ce0

Browse files
authored
Refactor .htaccess rewrite rules for SEO
Removed duplicate default response rule for owl and adjusted rewrite rules.
1 parent b119248 commit 73f4ce0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

seo/.htaccess

Lines changed: 3 additions & 3 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

1922
#Rewrite rules for semsur vocabulary
2023
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml|text/\*|\*/\*)
@@ -33,6 +36,3 @@ RewriteCond %{HTTP_ACCEPT} text/turtle [OR]
3336
RewriteCond %{HTTP_ACCEPT} \*/turtle
3437
RewriteRule ^$ https://raw.githubusercontent.com/saidfathalla/SEOontology/master/SEO.ttl [R=303,L]
3538

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

0 commit comments

Comments
 (0)