Continue reading Restricting posts in the index

Restricting posts in the index

The relevanssi_indexing_restriction filter hook is often the best way to restrict what goes in the Relevanssi index and what not. There’s also relevanssi_do_not_index, which is also a fine way to approach this and is often easier to apply when you’re talking about blocking individual posts, but for larger exclusions, relevanssi_indexing_restriction is better. Extensive use of…

Read more Restricting posts in the index 0 Comment on Restricting posts in the index
Continue reading WooCommerce: Hidden products in search

WooCommerce: Hidden products in search

Relevanssi by default shows out-of-stock and excluded from catalog WooCommerce products in the search results, but hides those set to excluded from search (before 2.2.2 and 4.1.2 the default behaviour was to show all products). It is quite easy to make Relevanssi not to display hidden products in the results. The best way is to…

Read more WooCommerce: Hidden products in search 21 Comments on WooCommerce: Hidden products in search