Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm looking a way to use More Like This block within the Drupal multisite environment.
I created a new Solr search environment targeted to single remote site.
As result More Like This block show correct node titles as designed. Node IDs within the block also correct and should point to corresponding URLs on remote site.
However links are pointed to the local site instead of the remote one.
So, I'm looking a way to point links to remote site as designed.
Comments
Comment #1
guruslot CreditAttribution: guruslot commentedComment #2
guruslot CreditAttribution: guruslot commentedComment #3
guruslot CreditAttribution: guruslot commentedapachesolr_search.module
function theme_apachesolr_search_mlt_recommendation_block($vars)
replace $result->path with $result->url
Comment #4
guruslot CreditAttribution: guruslot commented