Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 688 Bytes

File metadata and controls

24 lines (15 loc) · 688 Bytes

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) with Astro's Custom 404 Error Pages this may not work due to the way the adapter works

How to Use

  1. Install plugin:
npm i netlify-plugin-append-redirects
  1. Add plugin to netlify.toml:
[[plugins]]
    package = "netlify-plugin-append-redirects"
  1. Create a _redirect file at the root of your project:

  2. Deploy to Netlify