• Resolved Julian M

    (@julimuslia)


    Hi, if we activate the SEO index blocking snippet, does the post/page will be reindexed after we unhide the post/page ?
    Best regards!
    Julian

    function add_meta_for_search_excluded()
    {
        global $post;
        if (false !== array_search($post->ID, get_option('sep_exclude', array()))) {
            echo '<meta name="robots" content="noindex,nofollow" />', "\n";
        }
    }
    add_action('wp_head', 'add_meta_for_search_excluded');

Viewing 1 replies (of 1 total)
  • Plugin Support jmatiasmastro

    (@jmatiasmastro)

    @julimuslia Hi mate,

    Our plugin only excludes pages/posts from the blog’s internal search, not from Google or other external search engines.

    Best regards, QuadLayers Support Team.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.