Skip to content

redirects: send /roi to the ROI calculator - #5770

Merged
KristopherLeads merged 1 commit into
mainfrom
redirect/roi-vanity-url
Sep 10, 2026
Merged

redirects: send /roi to the ROI calculator#5770
KristopherLeads merged 1 commit into
mainfrom
redirect/roi-vanity-url

Conversation

@dimitrieh

Copy link
Copy Markdown
Contributor

Description

Adds a /roi vanity redirect to /resources/roi-calculator/. /roi currently 404s.

Goes in nuxt/redirects.ts rather than netlify.toml: it is same-domain and lowercase, so a Nitro route rule handles it. netlify.toml is reserved for the cross-domain redirects and the case-sensitive legacy URLs, where a case-insensitive Nitro rule would also match the canonical URL and loop it onto itself.

One key with the trailing slash covers both forms, /roi and /roi/.

Related Issue(s)

None.

Checklist

  • I have read the contribution guidelines
  • I have considered the performance impact of these changes
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
  • For blog PRs, an Art Request has been created (instructions)

Vanity short URL for /resources/roi-calculator/. Same-domain and lowercase,
so it belongs in the Nitro route rules rather than netlify.toml.
@netlify

netlify Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploy Preview for flowforge-website ready!

Name Link
🔨 Latest commit 951e8f0
🔍 Latest deploy log https://app.netlify.com/projects/flowforge-website/deploys/6aa2bf905003220008a4adde
😎 Deploy Preview https://deploy-preview-5770--flowforge-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 61 (🟢 up 12 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@KristopherLeads
KristopherLeads merged commit f1520ab into main Sep 10, 2026
7 checks passed
@KristopherLeads
KristopherLeads deleted the redirect/roi-vanity-url branch September 10, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants