Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brycerussell/netlify-plugin-append-redirects
Use a _redirects file at the root of your Astro project, works with SSR/SSG
https://github.com/brycerussell/netlify-plugin-append-redirects
astro build-plugins netlify redirects
Last synced: 3 months ago
JSON representation
Use a _redirects file at the root of your Astro project, works with SSR/SSG
- Host: GitHub
- URL: https://github.com/brycerussell/netlify-plugin-append-redirects
- Owner: BryceRussell
- Created: 2023-02-05T03:24:26.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-22T13:49:46.000Z (almost 2 years ago)
- Last Synced: 2024-10-09T04:43:07.273Z (4 months ago)
- Topics: astro, build-plugins, netlify, redirects
- Language: JavaScript
- Homepage:
- Size: 616 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `netlify-plugin-append-redirects`
Use a `_redirect` file at the root of your Astro project (SSR/SSG)
> **Note**: If your using the SSR adapter ([`@astrojs/netlify`](https://docs.astro.build/en/guides/integrations-guide/netlify/)) with Astro's [Custom 404 Error Pages](https://docs.astro.build/en/core-concepts/astro-pages/#custom-404-error-page) this may not work due to the way the adapter works
## How to Use
1) **Install plugin**:
```
npm i netlify-plugin-append-redirects
```2) **Add plugin to `netlify.toml`**:
```toml
[[plugins]]
package = "netlify-plugin-append-redirects"
```3) **Create a `_redirect` file at the root of your project**:
4) **Deploy to Netlify**