Skip to content

Make it possible to have redirects #5

Open

Description

@Sanqui

It would be very useful to have redirects on the deployed website.

Activity

  1. hroncok commented on Jun 26, 2017

    @hroncok
    Member

    I see 3 options:

    • switch to dynamic Flask webapp
    • implement redirects in Elsa (Frozen-Flask) via HTML meta header (probably ugly)
    • do the redirects on some kind of CDN (needs to be synchorinised, also CloudFlare only allows 3 page rules for free, etc.)
  2. Sanqui commented on Jun 26, 2017

    @Sanqui
    MemberAuthor

    I was going to enumerate two of these options. Currently, this can be solved with <meta> redirects, which are however very difficult to create in such a way that Frozen-Flask can collect them. Deploying for "real" would also solve this.

  3. hroncok commented on Jun 26, 2017

    @hroncok
    Member

    Well i was thinking we could teach Frozen-Flask to create those mate redirects when it sees a flask.redirect, but than again you would also need to feed it a route generator in order to be able to collect them. My opinion: Too much work, given the fact that we'll probably need to switch to dynamic website soon enough anyway.

  4. encukou commented on Jun 27, 2017

    @encukou
    Member

    Note: Even when we switch to something dynamic, I'd like to keep the Elsa-driven static site working for local development. But, URL stability won't matter too much there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions