Skip to main contentSkip to footer

EmbedPress has an auto-embed feature that tries to embed all URLs found in posts. This can cause problems with Relevanssi: searches can take a very long time when EmbedPress tries to fetch all outside URLs.

The solution is simple: you can disable this feature during Relevanssi excerpt creation. Add this snippet to your site:

add_action( 'relevanssi_pre_the_content', function() {
  remove_filter('the_content', ['\\EmbedPress\\Ends\\Front\\Handler', 'autoEmbedUrls']);
} );

Your account

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

Search

Popular Resources

Indexing attachment file names
Relevanssi has been working nicely for the normal usecase. But how does one setup indexing of attachment files. When someone…
Popular searches
This is a very common request: “How do I show the most popular searches in a widget or on a…

Related Posts:

Comment Section:

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