• Resolved Ibby

    (@ibby)


    Hi,
    We’re building a page using your plugin and we’ve noticed that if a user clicks on a category tag in a single product page, they will be taken to the WC product category page as set in permalinks i.e. /shop/%product_cat%/

    The filtering system will then be broken as if a user attempts to select a different parent category or child of a different parent category, the filter will not automatically switch to the selected parent category as the permalink will restrict it.

    Is there any way to ensure the filter respects the permalink structure?

    Thanks!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick McReynolds

    (@woobewoo)

    Hi @ibby,

    Unfortunately, the page you are linking to is not available – https://prnt.sc/117crdq

    Also, we need more information to resolve this issue.

    Please contact our internal support team.

    https://woobewoo.com/contact-us/

    I had the same problem with attribute displayed in product page, wheni was clicking on them, the URL wasn’t compatible with the filter system.

    So, i’ve just used a single line URL rewrite in .htaccess, and it works just fine.

    the goal was to change a url like this one attribute/genres-de-film/action/
    Into : /shop/?filter_genres-de-film=action/

    with this simple rule :
    RewriteRule ^attributs/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/ /shop/?filter_$1=$2 [L,R=301]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make filter URLs respect permalink structure’ is closed to new replies.