Continue reading Indexing fails? Check max_allowed_packet!

Indexing fails? Check max_allowed_packet!

Sometimes Relevanssi can get stuck in the indexing. Relevanssi goes past the number of posts in the database and keeps indexing the posts. One possible cause is a too small max_allowed_packet value for your MySQL server. This value controls how big queries your MySQL server can take. You can see the current value with one…

Read more Indexing fails? Check max_allowed_packet! 0 Comment on Indexing fails? Check max_allowed_packet!
Continue reading Jetpack Protect and Relevanssi Premium vulnerabilities

Jetpack Protect and Relevanssi Premium vulnerabilities

At the moment, Jetpack Protect claims Relevanssi Premium has several vulnerabilities. These are all false positives. I am not aware of any current vulnerabilities in Relevanssi Premium. The vulnerabilities Jetpack Protect reports are old vulnerabilities. They have applied to Relevanssi Premium, but I fixed them long ago. They appear in the report because Jetpack Protect…

Read more Jetpack Protect and Relevanssi Premium vulnerabilities 0 Comment on Jetpack Protect and Relevanssi Premium vulnerabilities
Continue reading Reading wpDataTables imported tables

Reading wpDataTables imported tables

The wpDataTables table plugin has several ways to handle tables. Some of them work with Relevanssi without problems; some don’t. You may notice that Relevanssi doesn’t index the entire table contents for wpDataTables tables (mainly imported tables). This is because the wpDataTables shortcode does not always expand to the entire table; it only features part…

Read more Reading wpDataTables imported tables 0 Comment on Reading wpDataTables imported tables
Continue reading Indexing Polylang Pro synced posts

Indexing Polylang Pro synced posts

Polylang Pro has a feature to sync translations between posts. The problem with this and Relevanssi is that Relevanssi does not index the changes to the synced posts. With this filter function added to your site, Relevanssi will also index the synced posts: Thanks to Nico von Niederhäusern / Cubetech.

Read more Indexing Polylang Pro synced posts 0 Comment on Indexing Polylang Pro synced posts
Continue reading 10Web Photo Gallery

10Web Photo Gallery

The Photo Gallery plugin from 10Web uses a shortcode to add photo galleries to posts and pages. By default, Relevanssi doesn’t index the gallery contents. Photo Galler only registers the shortcode in the front end, so when Relevanssi indexes pages in the admin context, Relevanssi only sees the shortcode, not the gallery contents. To fix…

Read more 10Web Photo Gallery 0 Comment on 10Web Photo Gallery
Continue reading Premium 2.19 / Free 4.17

Premium 2.19 / Free 4.17

Version 2.19.0 (4.17.0 for the free version) was the big maintenance release after the summer break. Version 2.19.1 / 4.17.1 Minor fix: WooCommerce layered navigation compatibility function caused enough problems that I disabled it by default. The problems included performance issues and incompatibilities with third parties, like BeRocket. You can enable the feature with add_filter(…

Read more Premium 2.19 / Free 4.17 0 Comment on Premium 2.19 / Free 4.17
Continue reading Search form: Search only in titles

Search form: Search only in titles

If you want to add an option to search only in titles to your search form, here’s how. First, you need to modify the search form to add the selection. To add a simple dropdown, add this to your search form: This select element will create a small dropdown with the option to search everything…

Read more Search form: Search only in titles 0 Comment on Search form: Search only in titles
Continue reading Integrating Koko Analytics stats

Integrating Koko Analytics stats

It’s possible to integrate all kinds of external data to Relevanssi weights. Koko Analytics is a great analytics plugin. It collects stats about your visitors and stores them in the local database, which means those stats are available for Relevanssi. For some sites, this makes a lot of sense. For example, I have Kirjavinkit, a…

Read more Integrating Koko Analytics stats 0 Comment on Integrating Koko Analytics stats
Continue reading How to block searches without a search term

How to block searches without a search term

By default, Relevanssi returns all posts when searching without a search term. That’s the default WordPress behaviour. Sometimes it may not be the wanted behaviour. One reason is performance: returning all results can be very slow. To stop Relevanssi from running when there’s no search term, add this to your site: This little function will…

Read more How to block searches without a search term 2 Comments on How to block searches without a search term