Hide a public app from search engines

Hello everyone!
What I’m trying to do:
I’m trying to hide an app to be listed between search engines results.
The app is published at app.companyname.com but I prefer people access tot he app from our website.

What I’ve tried and what’s not working:
I added:

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

in the main html page of my app but it’s actually not working.
I don’t want to change the app url, just avoid search engine scan it.

Do you have any suggestion?
Thanks!

I think this meta tag should be in the <head> part of the HTML, so you can try adding it to your app’s native libraries. The button is on the leftside panel under Assets.

Also your app will likely remain in the search results until the next time the search engines’ bots crawl your website and see the tag.

I think you can request a crawl manually via google search console or something.

Thanks @Zaro, I already added the meta tag to the html in assests. I will try your suggestion to request a crawl!

Sorry, in my first comment <head> did not appear because I didn’t escape it. I wanted to say that the tag should be in the <head> part of the HTML. Adding it to your standard-page.html won’t work, it has to be in the Native Libraries, which is where you have to put things that belong in the <head>:

2 Likes

Super clear now, I added it to the native libraries. Let’s see if it will work!
Thanks!

1 Like

Anytime. Here are some further notes that I forgot to mention but you might’ve figured out from my last comment.

Essentially, everything in standard-page.html gets added to the the <body> tag when the final HTML document for your app/page is constructed.

Similarly, everything in the Native Libraries gets added to the <head> tag. So that is also where you put things like JS scripts that you load from a CDN.

Others can correct me if I’m wrong, but I believe your Native Libraries always get added to the head even if you have multiple HTML templates that you use for different forms (e.g., page1.html, page2.html, etc. in your Assets). So the contents of the <body> tag changes but the contents of the <head> tag always remains the same, even across forms that use different HTML templates.

3 Likes