How to prevent search engines from crawling the Countly site?
How to prevent search engines from crawling the Countly site?
Thank you so much.
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.
Comments
Hi NaNEdi,
I'm not sure what do you meant by "Countly site". Could you please clarify it, and/or give us some examples?
Oh sorry, I mean 'Countly'.
I dont want search engines crawling my Countly.
In this case, you can add the "noindex" tag on the <head> of your site.
It would look like this:
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.
Which file should I add it to.
Hi NanEdi,
I found a better and safer solution to do this:
You can add this line to your NGINX config, under location /:
Please let me know if you have any other questions!
Ill try it.
Thanks
Please sign in to leave a comment.