hide_web_site_from_search_engines
Table of Contents
Hide web site from search engines
Robots.txt
Sometimes when you're developing a new web site, you may not have the site secured, but you may still not want it to be indexed by search engines. The quickest way to hide a site from all search engines is to create a robots.txt file with the following contents:
- robots.txt
User-agent: * Disallow: / Disallow: /cgi-bin/
…then place the robots.txt file in the same location as your index.html. Once you're ready to make your site visible to the search engines, either remove the robots.txt file, or adjust its contents as needed.
Links
hide_web_site_from_search_engines.txt · Last modified: 2024/08/11 18:08 by jimc