In this episode of AskGooglebot, John Mueller explains how password protection, blocking crawling, and blocking indexing are three ways to prevent a website from showing up in search engines, while keeping them accessible. This question was submitted by Aman Gautamr. Thank you!
Create a robots.txt file → https://goo.gle/3osiJ8N
Block Search indexing with noindex → https://goo.gle/3njXC92
Google Search Central on Twitter → https://goo.gle/searchc-tw
Watch more AskGooglebot episodes → https://goo.gle/2OjWcvS
Subscribe to the Google Search Central Channel → https://goo.gle/SearchCentral
by: John Mueller;
source