Support » Plugin: Premmerce Permalink Manager for WooCommerce » Conflict with search result

  • There is a conflict with the search result page.

    For example site.com/search/test redirect to site.com/mycategory/test

    I try on a fresh install of WordPress

    WP Version: 5.4
    Active plugins:
    WooCommerce 4.0.1
    Premmerce Permalink Manager for WooCommerce 2.1.14

    I set products to: “Full product path” and categories to “Full category path”

    Then i create A product named “test” in a new category named “test”

    So the product url is:
    site.com/test/test

    And then if I try to do a search with the word test, I’m redirected to the product page “test” instead to get the search result of word “test”.
    (site.com/search/test)

    Any idea how to fix that ?

Viewing 1 replies (of 1 total)
  • Plugin Author Premmerce

    (@premmerce)

    Hi @zecka1213

    If you have just one product with a “test” word in the title – there will be redirected to the product page after search request, even if you deactivate our plugin.

    Also, change /search/to default WooCommerce search parameter:
    /?s=test&post_type=product
    For example you have product URL: yourdomain/test/test
    All URLs that have /test on the end will be redirected to the product page “test”.

Viewing 1 replies (of 1 total)
  • The topic ‘Conflict with search result’ is closed to new replies.