Support » Everything else WordPress » Limit search engines to permalinks?

  • So a lot of search engine results to my site seem to link to the home page or a date/category archive (especially the home page.) Anyone know if there are any downsides to a plugin that doesn’t let them index those pages (it makes for an icky user experience…) I have in mind something like this:

    function permalinkplz() {
    if(!(is_single() || is_page())) {
    echo '<meta name="robots" content="noindex" />';
    add_action('wp_head', 'permalinkplz');

    Would you recommend a plugin that handles this sorta thing more extensively? (I’m a bit wary of the whole ‘pimp your pr’ community.) I guess making a google sitemap should help too..

  • The topic ‘Limit search engines to permalinks?’ is closed to new replies.