• Hi Mikko,

    One of our subdomains does not have the Yoast SEO plugin installed, but I still can’t get Relevanssi to return search results. I suspect that this is a theme issue and not a Yoast issue since both sites are running the same theme but one does not have Yoast installed. I put the search.php code for the theme in Pastebin for you to see: https://pastebin.com/6f6d1dqj. Please let me know if you need more information.

    Also, has the issue with the Yoast SEO plugin been resolved yet? Just curious as I’d like to use this plugin on the site with Yoast SEO installed one day.

    Thanks!
    Sara

    The page I need help with: [log in to see the link]

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

    (@msaari)

    There is no, and has not ever been, a Yoast SEO issue that affects searches on the site front end. There’s one issue that only affects admin searches and can be prevented by disabling “Text link counter” in Yoast SEO settings. There has also been a problem with Yoast Local SEO, which is a completely different product.

    That search results template doesn’t have a post loop. I’m not sure how it’s supposed to work in the first place, but I’m certain it won’t work with Relevanssi.

    Instead of this:

    <?php
                /*get page with single post template set*/
                $post_template_page_array = get_pages(array(
                    'post_type' => 'page',
                    'post_status' => 'publish',
                    //'number' => 1,
                    'meta_key' => '_wp_page_template',
                    'meta_value' => 'search.php'
                ));

    there should be a regular post loop. Looks like this theme is just not compatible with Relevanssi, and you may need to look at a search product that does not require changes to the search results templates (like AddSearch).

    Thread Starter saraelliott

    (@saraelliott)

    Thank you, Mikko! I completely misunderstood the Yoast issue. I will pass on the information you gave me to the theme developer to see if the post loop issue can get fixed. Thank you also for your recommendation of AddSearch. I will try that.

    Sara

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘MediCenter theme incompatibility’ is closed to new replies.