geneontology / web-gocam

GO-CAM site as an Angular 2+ Application
http://geneontology.org/go-cam
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Redirects system via file #10

Closed kltm closed 5 years ago

kltm commented 6 years ago

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.

kltm commented 5 years ago

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

pgaudet commented 5 years ago

@kltm Is this in the right tracker ?

kltm commented 5 years ago

This may be in place with a different system?

lpalbou commented 5 years ago

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

kltm commented 5 years ago

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

cmungall commented 5 years ago

Yep