We are moving to Discord!

Join us on the Countly Community Discord Server! Engage in discussions, share your feature ideas, and learn from fellow Countly users to build exceptional apps and experiences.

How to prevent search engines from crawling the Countly site?

How to prevent search engines from crawling the Countly site?

 

Thank you so much.

0

Comments

6 comments
  • Official comment

    Hi NaNEdi,

     

    I'm not sure what do you meant by "Countly site". Could you please clarify it, and/or give us some examples?

    Comment actions Permalink
  • Oh sorry, I mean 'Countly'.

    I dont want search engines crawling my Countly.

    0
    Comment actions Permalink
  • In this case, you can add the "noindex" tag on the <head> of your site.

    <meta name="robots" content="noindex">

    It would look like this:

    <!DOCTYPE html>
    <html><head>
    <meta name="robots" content="noindex" />
    (…)
    </head>
    <body>(…)</body>
    </html>

    The robots meta tag in the above example instructs search engines not to show the page in search results. For more info, you can refer to this article, or submit your question here and we'll help you.

    0
    Comment actions Permalink
  • Which file should I add it to.

    0
    Comment actions Permalink
  • Hi NanEdi,

    I found a better and safer solution to do this:

    You can add this line to your NGINX config, under location /:

    add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";

    Please let me know if you have any other questions!

    0
    Comment actions Permalink
  • Ill try it.

    Thanks

    0
    Comment actions Permalink

Please sign in to leave a comment.