Forums Forums Search & Filter Pro Yoast meta data on WooCommerce shop page where S&F is used

Viewing 10 posts - 1 through 10 (of 12 total)
  • Anonymous
    #271320

    Hi,

    I am using Search and Filter Pro plugin on my WooCommerce shop page to search and filter for products: https://laespontanea.wine/comprar-vino-natural/

    I am using Yoast SEO plugin to edit the meta data title and description for this page.

    There is a plugin conflict, when Search and Filter Pro is active on a specific page, Yoast detects that page as a “search” page and uses the meta title specified for search pages. It also adds a noindex tag as search pages are marked automatically as noindex by default by Yoast.

    Have you encountered such similar issues before and what is the best way to solve it?

    I was able to change the meta title using the solution provided in this thread: https://support.searchandfilter.com/forums/topic/page-meta-title-on-search-page/

    Do you know how I could add a meta description?

    Thanks
    Michele

    Trevor
    #271321

    I can see that the body tag has the search classname attached, which is not normal. Is Yoast adding that? See here:

    https://www.screencast.com/t/RvSxpLw94C

    Anonymous
    #271338

    I don’t think so. I just deactivated Yoast completely and can still see that same tag. Also if I switch to a standard theme like Twenty Twenty, it’s still there.

    Is this something that Search and Filter does?

    Trevor
    #271342

    It doesn’t add them, no (unless, maybe in the Advanced settings of the form you have set is_search to ON).

    Anonymous
    #271347

    Yes, in the advanced settings set is_search is turned ON. This was how it was setup by our developer. I tried turning it off, but if I do so the Search and Filter form on our WooCommerce shop page doesn’t work as expected. If you perform a search, the page just reloads with all products – not showing you the actual results for your search…

    Trevor
    #271349

    But it does remove those classes, and does Yoast then behave? It sounds like the form is not correctly connected to the products.

    Anonymous
    #271353

    Yes, if I turn it off then it removes those classes and Yoast behaves normally.

    How can I fix it? How can I connect the form to the products correctly?

    Trevor
    #271359
    This reply has been marked as private.
    Anonymous
    #271377
    This reply has been marked as private.
    Trevor
    #271434

    I have tried as far as I can, but it would appear that those two settings on the Advanced settings tab are needed for your theme, Uncode, to work with our form.

    I do not think that there is any simple way to fix this from our plugin. As per the thread you referenced, I think you will need to use a similar Yoast function. This Google search may yield some ideas:

    https://www.google.com/search?q=functions.php+_yoast_wpseo_metadesc&oq=functions.php+yoast__metadesc

Viewing 10 posts - 1 through 10 (of 12 total)