1. Open an editable version of your website's header HTML code. This code includes the
and
tags.
2. Insert the following line of code immediately after
if you want to block all search engines, including Google:
3. Insert the following code right after
if you want to block only Google:
4. Save or publish your changes.