tdwg / infrastructure

TDWG infrastructure
5 stars 1 forks source link

Can we redirect URLs? #3

Closed peterdesmet closed 9 years ago

peterdesmet commented 9 years ago

One of the tasks in migrating the TDWG standards to GitHub is redirecting the what is called "permanent URL" of the standard (such as http://www.tdwg.org/standards/450) to the GitHub repository of the standard. We already have the OK from the task groups to redirect this URL for Darwin Core, Vocab and GUID applicability statement (though I still have to migrate that one) and the prior standards (which we could redirect to a subdirectory of https://github.com/tdwg/prior-standards).

Does anyone know how to redirect on Typo3?

sblum commented 9 years ago

I'm not sure we want to link www.tdwg.org/standards/450 to the GitHub repository. I think the old practice was to link that URL to the "cover page" for the standard. On the cover page there should be a link to "download" the standard, and maybe a place to view it online, such as http://rs.tdwg.org/dwc/index.htm. Does GitHub allow us to alias repositories on their site with a client's URL, like http://rs.tdwg.org/dwc/index.htm. If not, then I think we have two choices: 1) accept the GitHub URL, or pull the content over to a TDWG server where we can manage the URLs.

I've made some progress getting Typo3 to name the standards cover page as the old number, but I'm getting some odd behavior from the link target (opening new tab/page regardless of how I change the setting). I'm calling this out to the contractor tomorrow.

peterdesmet commented 9 years ago

@sblum, a GitHub repository (e.g. https://github.com/tdwg/dwc) acts the same way as a cover page in my opinion:

Alternatively/in addition, each repository can be made into its own website, e.g. http://tdwg.github.io/dwc/terms/index.htm (a working example), the URL of which consists of three things:

I would refrain from creating those websites for now and choose to maintain the standard in one place, on GitHub, by the task group and only reference the repository, using a redirect.

CynthiaParr-USDA commented 9 years ago

Tim proposes rewrite rules on the TDWG GBIF server.

timrobertson100 commented 9 years ago

We believe there are around 20 URLs that need to be rewritten only. The simplest solution will be to put something like an Apache mod_rewrite in front of the TDWG site for those URLs. When the site is moved, please contact trobertson@gbif.org and admin@gbif.org and we will make this happen.

mdoering commented 9 years ago

We also need redirects for the changed dwc layout: https://github.com/tdwg/dwc/issues/80 under rs.tdwg.org In general I would prefer redirects over rewrites so users are aware of the change

timrobertson100 commented 9 years ago

Indeed, it would issue 301 moved permanently to the new location

peterdesmet commented 9 years ago

Great. I'll add a list of URLs to be redirected to this repository.