Product Category Pagination (7 posts)

  1. penncoremedia
    Posted 2 years ago #


    I am setting up a basic wordpress/woocommerce website using the theme Mystile. I am running into a problem with pagination.

    The pagination works fine if you view my products from the Shop (/shop) page, but when you are in a product category page (/shop/category) the pagination no longer works. The pagination appears, but you go to the next page you get a 404 page not found. The pagination seems to be directing to the correct link (shop/category/page/2/), but it is still coming up with a 404 error.

    Again this works fine under the /shop page when directed to /shop/page/2, but under product categories it does not.

    I have not edited any of the core php files, any ideas?



  2. penncoremedia
    Posted 2 years ago #

    Hi just wanted to follow up for anyone who ever may search and come across this thread that I have found a solution to this problem by inserting this code at: http://pastie.org/pastes/5170528/text into the functions.php.

  3. penncoremedia
    Posted 2 years ago #

    I take it back, this did not work. I was accidentally looking at just my /shop page.

    Does anyone have any solutions?

  4. Jenny Beaumont
    Posted 2 years ago #

    Heya - did you ever get this sorted? am running into the same thingā€¦


  5. penncoremedia
    Posted 2 years ago #

    Hi Jenny,

    The problem with me at least was that I was using the wrong link to display my product categories.

    For example in my submenu, I had a link to the Candy section, going to /shop/candy and pagination was not working. What I should have had, and fixed it to was, /product-category/candy.

    Hope that helps.

  6. Jenny Beaumont
    Posted 2 years ago #

    Same! Took me a while, but I finally just changed the settings to display sub-categories, and that's where I saw that I had been trying to force the shop base on category pages. Silly me! Though I do wish that were possibleā€¦*dreams on*

    thanks for writing back!

  7. jberg1
    Posted 2 years ago #


    works like a charm.
    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic