fool
September 7, 2020, 6:56pm
5
Custom headers are indeed a feature available at all account levels, and that should be one you can set:
You could also use robots.txt (https://www.robotstxt.org/ ) for a similar purpose.
Note that you’ll want to be careful not to deploy either to your production builds, since presumably you don’t want google to fail to index those! This pattern may be of assistance:
Last reviewed by Netlify Support Staff: August 2023
Ever wondered if there is a way to use conditional build settings based on context or branch name for deploys from git? How about deploys NOT from git?
TL;DR: Yes, for git based builds you have a lot of control! There are several ways to accomplish this on Netlify’s build network.
To start with let’s talk about how we differentiate build types and define some terminology:
Terminology
All Netlify sites are deployed to our CDN and you can s…