Skip to main contentSkip to footer

By default posts imported with WP All Import do not get indexed by Relevanssi. The importing process does not trigger Relevanssi indexing. That is, however, easy to remedy:

add_action( 'pmxi_saved_post', 'post_saved', 10, 1 );
function post_saved( $id ) {
    relevanssi_index_doc( $id, true, relevanssi_get_custom_fields(), true );
}

Add this code to your site, and any posts imported with WP All Import will be indexed with Relevanssi. Do note that this will make the importing process run slower.

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

Membermouse
If you’re using MemberMouse to manage memberships on your site, having Relevanssi co-operate with MemberMouse is easy using the relevanssi_post_ok…
Spam search blocking
Spam searches are a common feature on WordPress sites. Spam bots make lots of useless queries. They hope sites display…
GeneratePress: Query Loop
Relevanssi doesn’t work automatically with the Query Loop block in GeneratePress and GenerateBlocks. Fortunately, the solution is simple: the Query…

Related Posts:

Comment Section:

2 Comments. Leave new

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed