Skip to main contentSkip to footer

The 3.3.8 update for free Relevanssi matches Relevanssi Premium 1.13.2 and is a maintenance release and generally recommended, as it fixes minor bugs and a possible XSS vulnerability.

  • Fixed a bug that caused the results to change depending of the order of words in a multi-word search query.
  • Added product_categories and recent_products from WooCommerce to the list of blocked shortcodes.
  • There are improvements in excerpt-building and highlighting, especially when fuzzy search is enabled.
  • Fixed a possible (if quite unlikely) XSS vulnerability.
  • Improved search performance (thanks to MikeNGarrett).
  • Sometimes highlights in documents make the document content disappear. I don’t know why, but I’ve added a fix that should make the content visible (without the highlights) if a problem appears.

The XSS vulnerability is related to stopwords: the list of stopwords is printed out unescaped on the Relevanssi settings page in WP admin dashboard. There’s some potential for a XSS vulnerability there, but in order to attack this way, the attacker needs to have admin rights to your WP site in the first place. 1.13.2 fixes the vulnerability in any case.

Your account

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

Search

Popular Resources

Related searches feature

…which have at least one matching token with the current search. Searching for “john” will match both “john blackbourn” and “john smith”. Searching for “john blackbourn” will match “john smith”, but won’t match “john”, because the function doesn’t suggest queries that consist of only one token. Also, only queries that…John Blackbourn wrote a cool related searches feature for Relevanssi Premium. It’s included from version 1.7.4. In order to use the related searches, you must have search logging enabled and a good log of past searches. Then add the following code to your search results template in a suitable place:…

Indexing custom post statuses
If you’re using custom post statuses, Relevanssi requires some tinkering. By default, Relevanssi only handles posts that are of status…
OceanWP

…If the post doesn’t have an excerpt, OceanWP uses echo wp_trim_words( strip_shortcodes( $post->post_content ), $length ); to print out the excerpt, and that does not show the Relevanssi excerpt. To fix this problem, create a child theme for OceanWP if you don’t already have one. In the child theme, add…OceanWP is a popular WordPress theme. It works fine with Relevanssi, but how it handles excerpts on the search results pages is not fully compatible with Relevanssi. Relevanssi expects the theme to use the_excerpt() to print out the excerpts. OceanWP does that, but only for posts that have hand-made excerpts….

Related Posts:

Comment Section:

3 Comments. Leave new

  • Lisa Leibfried
    November 4, 2016 11:23 pm

    We are using Relevanssi as a search engine for our site. However, it doesn’t seem to find numbers with an underscore inbetween. For example, if my post contains 2_46, and I try to search for 2_46, I get no results. I do get results if I just enter 46, but the combinations of number and underscore is a token that people will search for. Any ideas on how to make this work? Thanks.

    Reply

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