noindex


noindex ( No parameters )

Description

Displays a noindex meta tag if required by the blog configuration.

If a blog is marked as not being public then the noindex meta tag will be output to tell web robots not to index the page content. Add this to the {@see 'wp_head'} action.

Typical usage is as a {@see 'wp_head'} callback:

add_action( 'wp_head', 'noindex' );

Related Functions

drop_index, add_clean_index, login_header, domain_exists

Top Google Results

User discussions

wpseek mobile