[Resolved] No Index Site

Home Forums Support [Resolved] No Index Site

Home Forums Support No Index Site

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #2201187

    Hello. I am turning my site into an app. I don’t want it to be found by people who search it. The place that converts my site into an app said I could keep the site from being searchable by adding the meta tag robots /no index / no follow

    I added a Hook Element and put the following into wp_head:
    <meta name=”robots” content=”noindex”> and checked Execute Shortcodes and Execute PHP. For Display Rules I chose “Entire Site”. Did I do this correctly?

    Is this enough? I read that instead of a meta tag (maybe in addition to a meta tag?) I could “return an X-Robots-Tag header with a value of either noindex or non in my response.” I don’t know how to do this.

    Customer Support

    Hi Michelle,

    Plugins like Yoast SEO have a functionality to do as such.

    See: https://yoast.com/help/how-to-noindex-an-entire-site/

    Basically, it adds this to your website’s header: <meta name='robots' content='noindex,follow' />

    And, it also modifies robots.txt, adding these two lines:

    User-agent: *
    Disallow: /

    Reference: https://www.wpbeginner.com/beginners-guide/how-to-stop-search-engines-from-crawling-a-wordpress-site/#:~:text=is%20checked%2C%20WordPress

    In essence, adding the tag you added into the header of your website might not be enough. You’ll also need to modify the robots.txt file.

    You could try to do these manually or let a plugin do it for you.

    Hope this clarifies.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.