https://github.com/cassidoo/astro-redirects-example
Astro + Netlify _redirects
https://github.com/cassidoo/astro-redirects-example
astro netlify redirects
Last synced: 5 months ago
JSON representation
Astro + Netlify _redirects
- Host: GitHub
- URL: https://github.com/cassidoo/astro-redirects-example
- Owner: cassidoo
- Created: 2023-01-01T00:47:59.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-03T23:55:47.000Z (over 2 years ago)
- Last Synced: 2025-03-31T19:21:28.616Z (7 months ago)
- Topics: astro, netlify, redirects
- Language: Astro
- Homepage: https://astro-redirects-example.netlify.app/
- Size: 153 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Astro + Netlify Redirects example
[](https://app.netlify.com/sites/astro-redirects-example/deploys)
Check out how the thingy works with `_redirects` at the root ([direct link here](https://github.com/cassidoo/astro-redirects-example/blob/main/_redirects)), and the build script in `package.json` ([direct link here](https://github.com/cassidoo/astro-redirects-example/blob/main/package.json#L9)), etc etc.
[Go to the site here](https://astro-redirects-example.netlify.app/), it's just the base Astro template. If you go to [`/fart`](https://astro-redirects-example.netlify.app/fart/), then it will redirect to `/fish`.