Support » Plugin: WooCommerce » Permalinks not working with WooCommerce

Viewing 6 replies - 1 through 6 (of 6 total)
  • I suggest using rewrite rules inspector to see which rules are being broken and why.

    Thanks bheadrick. WIll check this out

    So have installed and used the plug-in and switched to pretty permalinks to look at one of the problematic pages.

    Output below.

    I can’t make out though what it is telling me. I think it is saying that it has 1 match for the first “product” rewrite rule … which I can’t understand. Or indeed what to do about it.

    Rule Rewrite Source
    (.+?)/?$ index.php?product_cat=$matches[1] product
    (.?.+?)(/[0-9]+)?/?$ index.php?pagename=$matches[1]&page=$matches[2] page
    ([^/]+)(/[0-9]+)?/?$ index.php?name=$matches[1]&page=$matches[2] post

    Any help decoding the output and further suggestions gratefully received


    Have managed to resolve this. Not that I understand why, only the how!

    I needed to not just use /%product_cat%/ for the WooCommerce product permalinks but to either use one of their suggested formats or have a custom format with “something” to replace their suggested shop/ prepend to /%product_cat%/

    Then everything works fine. I used baby-gift and renamed the Shop page permalink to baby-gift thus giving me that which I needed.

    Now I only have Rewrite Rule Inspector gives one less matching rule:

    (.?.+?)(/[0-9]+)?/?$ index.php?pagename=$matches[1]&page=$matches[2] page
    ([^/]+)(/[0-9]+)?/?$ index.php?name=$matches[1]&page=$matches[2] post

    All good!


    Gery Green*


    Hello, I use Theretailer too.
    Did you have any sales using this theme? I think it has a very hard to use checkout. don’t you think?




    I found it OK. Granted I only use Paypal option so don’t have the complications of other payment types.

    Customers have not mentioned any issues in terms of usability so pretty happy with it personally.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Permalinks not working with WooCommerce’ is closed to new replies.