Introduction

The following links are intended to demonstrate the pros and cons of various redirect methods. The methods which do not redirect, but instead stay on ISOcat, are using a simplified Data Category HTML which has been generated by a converter. These simple Data Category HTML pages can be easily enhanced later on with minimal changes to the converter which generated them (http://gevterm.net/dcr2isocat).

Server Side Redirect Methods

Using .htaccess file to automatically redirect

Note: Using this method, it is impossible to view the ISOcat entry and only the TermWeb entry can be viewed.

Data Category: Context

http://www.isocat.org/rest/dc_experimental/149

Using PHP to redirect automatically, or prevent redirect

Note: Adding "?redirect=false" to the end of a URL will allow the user to prevent a redirect to TermWeb.

Data Category: Created By

Auto-Redirect: http://www.isocat.org/rest/dc_experimental/162

Prevent Redirect (add "?redirect=false"): http://www.isocat.org/rest/dc_experimental/162?redirect=false

Client Side Redirect Methods

Using JavaScript to redirect automatically, or prevent redirect

Note: Adding "?redirect=false" to the end of a URL will allow the user to prevent a redirect to TermWeb.

Warning: JavaScript redirects are considered bad practice because they can be slow for the user.

Data Category: Cross Reference

Auto-Redirect: http://www.isocat.org/rest/dc_experimental/216

Prevent Redirect (add "?redirect=false"): http://www.isocat.org/rest/dc_experimental/216?redirect=false

Using HTML to automatically redirect

Note: Using this method, it is impossible to view the ISOcat entry and only the TermWeb entry can be viewed.

Warning: HTML redirects are very old and considered bad practice because they can be slow for the user.

Data Category: External Cross Reference

Auto-Redirect: http://www.isocat.org/rest/dc_experimental/226

Only visit TermWeb when clicking on the link to do so

Note: This is not a redirect at all, and is simply the user electing to view the entry on TermWeb.

Data Category: Geographical Usage

No Redirect, must click on TermWeb link: http://www.isocat.org/rest/dc_experimental/243