robots meta tag usage
-
Hi,
I know that this applies the meta robots tag to specific pages or posts:
<?php if ($post->ID == X || $post->ID == Y) { echo ‘<meta name=”robots” content=”noindex,follow”>’; } ?>
But I’d like to apply the same meta tag to a specific directory with 70 files in it. Is there any way to accomplish this in php? I’d so much appreciate an answer.
Thanks a million.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘robots meta tag usage’ is closed to new replies.