fission-codes / landing-page

Fission home page
https://fission.codes
Other
9 stars 2 forks source link

Turn off Ghost front end, enable redirects #46

Closed bmann closed 3 years ago

bmann commented 3 years ago

Turn on Make this site private in Ghost and Implement redirects https://ghost.org/docs/tutorials/implementing-redirects/

Turns out, we are on an older version of Ghost, so may also want to see about upgrading to newest version.

bmann commented 3 years ago

I did this, using current version:

[
    {
        "permanent": true,
        "from": "/support/",
        "to": "https://fission.codes/support/"
    },
    {
        "permanent": true,
        "from": "^/$",
        "to": "https://fission.codes/blog/"
    },
    {
        "permanent": false,
        "from": "^/([A-Za-z0-9\\-]+)",
        "to": "https://fission.codes/"
    }
]

There is a known bug that the path is not redirecting for external domains, so in fact deeplinks all just go to the home page. Going to file a new issue to capture that.