diff --git a/mediatype/.htaccess b/mediatype/.htaccess index cb6deec54..10549595f 100644 --- a/mediatype/.htaccess +++ b/mediatype/.htaccess @@ -1,8 +1,11 @@ RewriteEngine On -# this redirect forwards on URIs like https://w3id.org/mediatype/text/html to https://conneg.info/mediatypes/object?uri=https://w3id.org/mediatype/text/html -# where a Linked Data API handles the call for tex/html -RewriteRule "^(.+)$" "https://conneg.info/mediatypes/object?uri=https://w3id.org/mediatype/$1" [R=303,L,QSA] +# one-off redirect for the DCAT Dataset identifier for this Media Types dataset +RewriteRule "^dataset$" "https://conneg.info/mediatypes" [R=303,L,QSA] + +# this redirect forwards on URIs like https://w3id.org/mediatype/text/html to https://conneg.info/mediatypes-service/object?uri=https://w3id.org/mediatype/text/html +# where a Linked Data API handles the call for text/html +RewriteRule "^(.+)$" "https://conneg.info/mediatypes-service/object?uri=https://w3id.org/mediatype/$1" [R=303,L,QSA] # this redirect forwards on the request for the medaitypes register to the Linked Data API which delivers it -RewriteRule "^$" "https://conneg.info/mediatypes/mediatype/" [R=303,L,QSA] +RewriteRule "^$" "https://conneg.info/mediatypes-service/mediatype/" [R=303,L,QSA]