The company I work for has a content management system that builds pages automatically for certain content.E.g., There is a page in our system that has the ability to show you information about any composer in our database, depending on the input parameters and what information we have on them. However, every now and then, there is a composer that hasn't got any information, thus the page renders a blank page. How can we tell Google not to index the page at that moment, but maybe sometime in the future?Because the content is auto-generated, we can't just block pages from being visible, as it information about that composer may pop up at any moment.EditPlease note that our CMS system that does the fetching is seriously complicated and deep. The content part of the page WILL return some sort of data, so running an empty($content) ? xx : yy as has been suggested is not a quick fix. If a composer does not exist, the system won't have a page for that the composer, if the composer does exist, the system will. When that composer's page is rendered, the system searches every type referring to composers, such as works, to create a dynamic page.
How do you tell search engines not to index this page just yet, but maybe in the future?
seo
If there is no content for a particular composer, use the meta tag:<meta name=robots content=noindex, follow>As soon as content is added and the meta tag is removed, Google will index it.Example:<?php if(empty($composerInfoArray)): ?>    <meta name=robots content=noindex, follow><?php endif; ?>