• Resolved tom

    (@tomliu618)


    hi

    Relevanssi added new features: WordPress SEO support, posts marked “noindex” in WordPress SEO are no longer indexed by Relevanssi by default.

    How to let Relevandansi continue to index the content marked as noindex, please help

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Add this to your theme functions.php:

    remove_filter( 'relevanssi_do_not_index', 'relevanssi_yoast_noindex', 10 );

    Then rebuild the index.

    Thread Starter tom

    (@tomliu618)

    Wiping out the index… Done.
    Counting posts… 96 posts found.
    Indexed 0 posts (total 0), processed 0 / 96.
    Indexed 0 posts (total 0), processed 0 / 96.
    Indexed 13 posts (total 13), processed 13 / 96.
    Indexed 15 posts (total 28), processed 28 / 96.
    Indexed 3 posts (total 31), processed 96 / 96.
    Indexing complete. 65 posts excluded.

    Still no index Yoast marked noindex content,

    please help

    Thank you

    Plugin Author Mikko Saari

    (@msaari)

    Sorry, the code needs to be:

    add_action( 'init', function() { remove_filter( 'relevanssi_do_not_index', 'relevanssi_yoast_noindex', 10 ); }, 99 );

    Thread Starter tom

    (@tomliu618)

    hi

    Upgrade the new version of Relevanansi, there is no index Yoast marked as “noindex” content.

    please help

    Hi
    To follow, I have the same problem 🙂

    Plugin Author Mikko Saari

    (@msaari)

    This is the correct code now:

    add_action( 'init', function() {
        remove_filter( 'relevanssi_do_not_index', 'relevanssi_yoast_noindex', 10 );
        remove_filter( 'relevanssi_indexing_restriction', 'relevanssi_yoast_exclude', 10 );
    }, 11 );
    • This reply was modified 6 years, 8 months ago by Mikko Saari.
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘posts marked “noindex”, please help’ is closed to new replies.