Web server 303 redirection for the semantic web

From pro-iBiosphere
Jump to: navigation, search

As explained on Best practices for stable URIs‎‎ for the purpose of semantic clarity, it is important to assign one URI to the abstract concept or physical object, and use another for the information resource (web page, rdf data document) returned. For the first URI no content should ever be returned directly. Instead, the first may be a URI containing a fragment identifier ("#" = hash at the end followed by an identifier), or the first URI is redirected on the web server to the second using an http 303 redirect. This page deals with the latter method.

APACHE example: TO ADD

NGINX example: TO ADD

A useful resource to check your setup is:


Enter the URI for the abstract concept or physical object and observe the results. If you are comfortable with a Unix command line, you can also use: curl -I -H "Accept: application/rdf+xml" http://lod.taxonconcept.org/ses/mCcSp#Species

Another good resource is http://sindice.com/ . They have an inspector that does not seem to have a direct link but here is an example of how it works.