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

    Thread Starter rickydwilson

    (@rickydwilson)

    Thanks bheadrick. WIll check this out

    Thread Starter rickydwilson

    (@rickydwilson)

    So have installed and used the plug-in and switched to pretty permalinks to look at one of the problematic pages. https://www.cudddlesandpuddles.co.uk/blog/

    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

    Thanks

    Thread Starter rickydwilson

    (@rickydwilson)

    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!

    Thanks

    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?

    Thread Starter rickydwilson

    (@rickydwilson)

    @gerygreen

    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.

    Regards

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