Continue reading FacetWP

FacetWP

Relevanssi is generally well compatible with FacetWP, which provides advanced filtering and faceting capabilities for the search. There are, however, some situations where Relevanssi and FacetWP do not work well. Make sure you are using the Relevanssi integration plugin for FacetWP. It covers most of the problems. Disabling the FacetWP integration In some cases, however,…

Read more FacetWP 0 Comment on FacetWP
Continue reading Modifying the search form on the fly

Modifying the search form on the fly

I set up a short coded search box to search my Learndash e-course for one specific category only: [ searchform ld_topic_category=”156″ ] It works perfectly except one thing: if no results show, it takes you to the default WordPress page and presents you with the standard search box that no longer searches category 156. This…

Read more Modifying the search form on the fly 0 Comment on Modifying the search form on the fly
Continue reading Spam search blocking

Spam search blocking

…results You can also use Relevanssi spam blocking to block bots from search results pages. This can be useful: search engine bots can hit your site search a lot, with little benefit. According to Google’s John Muller, Google doesn’t want your internal site search pages in the index. They create……use this code snippet. It will add the required rule in your robots.txt file:​ add_action( ‘do_robots’, ‘rlv_block_bots_robots_txt’ ); function rlv_block_bots_robots_txt() { ?> User-agent: * Disallow: /search/ Disallow: /?s= <?php } That should keep the search engine crawlers from visiting your search results. If you want to make sure, you can…Spam searches are a common feature on WordPress sites. Spam bots make lots of useless queries. They hope sites display the search queries somewhere, providing links to spam sites. This is unpleasant, clogs up the search logs and wastes resources. Relevanssi Premium introduced a new spam blocking feature in version…

Read more Spam search blocking 1 Comment on Spam search blocking
Continue reading Why is a post type excluded from search?

Why is a post type excluded from search?

In the list of post types to index in the Relevanssi indexing settings tab there’s a column “Excluded from search”, which has a value of “yes” or “no” for each post type. What does this mean, and why does the value remain “yes” even if you set Relevanssi to index that post type? This column…

Read more Why is a post type excluded from search? 0 Comment on Why is a post type excluded from search?
Continue reading Adding direct links to outside pages to search results

Adding direct links to outside pages to search results

…type listing screen. Default “Filter posts list”/”Filter pages list”. Added in 4.4′, ‘textdomain’ ), ‘items_list_navigation’ => _x( ‘Affiliate links list navigation’, ‘Screen reader text for the pagination heading on the post type listing screen. Default “Posts list navigation”/”Pages list navigation”. Added in 4.4′, ‘textdomain’ ), ‘items_list’ => _x( ‘Affiliate links…

Read more Adding direct links to outside pages to search results 0 Comment on Adding direct links to outside pages to search results
Continue reading Relevanssi breaks autoembeds on result pages

Relevanssi breaks autoembeds on result pages

You may notice that enabling Relevanssi custom excerpts breaks all autoembeds (things like Youtube video embeds) on search results pages. That’s done on purpose, because the autodiscovery of those embeds can be a proper performance killer if the search results include lots of embedded content. Thus, Relevanssi switches the feature off, considering it’s not commonly…

Read more Relevanssi breaks autoembeds on result pages 0 Comment on Relevanssi breaks autoembeds on result pages