ReferenceURL Redirects

Basic example

Dashboard

Redirects can be configured in the Flowershow dashboard under Site Settings → Content — no config.json edits needed. Values set in config.json take precedence over dashboard settings.

{
  "redirects": [
    { "from": "/old-path", "to": "/new-path" }
  ]
}

Add this to your config.json file to redirect visitors from /old-path to /new-path.

Properties

Each redirect object in the redirects array accepts the following properties:

  • from (required)
    The old URL path that should be redirected (starts with /).
    Type: string

  • to (required)
    The new URL path that visitors should be redirected to (starts with /).
    Type: string

Example:

{
  "redirects": [
    { "from": "/blog/old-post", "to": "/blog/new-post" }
  ]
}

Behavior

The redirects feature:

  • Performs client-side redirects
  • Matches exact paths only (no regex or glob patterns)
Built with LogoFlowershow