• Resolved gaet

    (@gaet)


    Hi,

    Here is my stack :
    1. A WordPress website online (dev.mydomain.com)
    2. A static website online (mydomain.com) generated by dev.mydomain.com with Simply Static plugin

    My question is :
    How to set <meta name="robots" content="index, follow"> for the static website but <meta name="robots" content="noindex, nofollow"> for the WordPress website (because I want Google to crawl only the static website) ?

    Thanks for your help !

Viewing 1 replies (of 1 total)
  • Plugin Support sr293

    (@sr293)

    Hello @gaet. If you would like to protect your dev site from being indexed, the easiest method would be to add basic auth to your site. This would add password protection to your application which would help prevent search engines from indexing it. Here is a link to more information on the topic: https://docs.wpvip.com/how-tos/basic-authentication/. If you add basic auth to your site you will also need to provide the credentials in your Simply Static settings.

Viewing 1 replies (of 1 total)

The topic ‘Meta Robots NOINDEX’ is closed to new replies.