Mobile app version of vmapp.org
Login or Join
Odierno851

: I'm not sure if the Google bot is able to execute your JavaScript code but to be sure you could just block the access for the bots to the directory "/projects" in your robots.txt or install

@Odierno851

I'm not sure if the Google bot is able to execute your JavaScript code but to be sure you could just block the access for the bots to the directory "/projects" in your robots.txt or install a SEO plugin and set the meta "robots" of the post_type projects to "noindex".

BTW You can set this yourself with a hook:

function noindex_for_projects() {
if ( is_singular( 'projects' ) ) {
echo '<meta name="robots" content="noindex">', "n";
}
}
add_action( 'wp_head', 'noindex_for_projects' );

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Odierno851

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme