Adding 301 redirects in Gatsby hosted on Netlify

Posted on Apr 27, 2021

I moved my personal site from WordPress to Gatsby. And after migrating, I needed to add a few redirects to avoid broken links.

And, Netlify’s _redirects file seemed the easiest way to add 301 redirects in Gatsby.

📢 Here’s how I did it