Skip to content

BryceRussell/netlify-plugin-append-redirects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Use a _redirects file at the root of your Astro project, works with SSR/SSG

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published