Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    If you order the results by relevance, it does come up first. Try adding &orderby=relevance to the end of the search results page URL to see results ordered by relevance.

    Do you perhaps use a plugin that affects page order somehow? That’s likely messing up with Relevanssi. You can try adding this to your theme functions.php to solve this:

    add_filter( 'relevanssi_modify_wp_query', function( $query ) { $query->set( 'orderby', 'relevance' ); return $query; } );

    Thread Starter bublitzcreative

    (@bublitzcreative)

    That worked perfectly! Thank you!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Relevanssi not putting most relevant page first’ is closed to new replies.