geneontology / web-gocam

GO-CAM site as an Angular 2+ Application

Home Page:http://geneontology.org/go-cam

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redirects system via file

kltm opened this issue · comments

commented

As the domain root, the current Drupal maintains a larger number of redirect, both to external resources, legacy page updates, and page renamings.; the webserver that hosts it likely many more.
While we will likely get rid of many of these, we will still have many cases where we'll want to redirect in various ways, some of them supporting this legacy.

This would be to implement a redirect system built into the new site's deployment, that reads from a structured file and redirects accordingly, editable by general GO users.

As a model, note the github.io system and https://github.com/jekyll/jekyll-redirect-from ; these could be directly used depending on the deployment method.

commented

It may be that we just end up doing a bunch with apache.

@kltm Is this in the right tracker ?

commented

This may be in place with a different system?

@kltm the redirect system you mentioned here seems to be for the go site (geneontology/go-site#959), not for the gocam site, hence I think the question on wether this is the right tracker for this ticket

commented

Working with @cmungall , I believe that we have the critical mappings in place? See: https://github.com/geneontology/operations/blob/master/ansible/root-domain-head-up.yml#L30