Prevent Google from indexing custom post types?

If you write code for registering custom post-type try adding these attributes

public => false, has_archive => false, publicly_queryable => false, query_var => false

Otherwise, set these options to false in plugin that you might be using.

Leave a Comment