LabKey sites and google search?

LabKey Support Forum
LabKey sites and google search? Ben Bimber  2017-11-14 14:41
Status: Closed
 
Hello,

We have a LabKey site designed to share data, but most content is behind a password. I registered our URL with google, but as expected there's a limited # of pages they can index. However, if you look at what's indexed, we're getting actions like resetPassword indexed. This isnt a bug per-se, but I thought I'd point this out in case there's anything that would make sense to add meta tags or similar that might block google crawlers (such as https://support.google.com/webmasters/answer/93710?hl=en). An example of our google hits are here (not sure if you'll get the same hits as me).

https://www.google.com/search?q=mgap+ohsu
 
 
Matthew Bellew responded:  2017-11-14 15:20
The good news is that we already have a way to suppress indexing, we're just not using it (yet) on this page. For reference the way to suppress indexing is to add this to the action.

            getPageConfig().setNoIndex();

Matt