Next.js Preview Mode is now fully supported on Netlify. Learn more

The Netlify Blog

Exploring the Jamstack, static sites, and the future of web development. Subscribe to our newsletter to make sure you don't miss anything.

All posts / redirects

How to do redirects on Netlify

You can configure redirects and rewrite rules for your Netlify site by adding a _redirects file to the root of your site folder (note, if you’re running a build command, the _redirects file should end up in the folder you’re deploying. It’s not enough to have on in the root of your …

By Brian Douglas in Guides & Tutorials