Category Page 404

Homepage Community Forums Aspire Theme Support Category Page 404

Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #18144
    Bamajr
    Customer

      This issue should be easy enough to understand, without props, but I’m going to use them anyway 馃槈

      Go to: https://homesforsalein.io/alabama/

      Scroll to the bottom and try to go to the next page (page 2).

      Got a 404 error too, didn’t you?

      Why?

      How do I fix it?

      Permalink structure is: /%category%/%postname%/

      #18156
      Wes
      Moderator

        I’m not sure why that’s happening, I’ve never ran into an issue like that. It seems to work fine on the demo, as well as some of my local installs. I’m using the “Day and Name” settings – /%year%/%monthnum%/%day%/%postname%/ Not sure if that has anything to do with it or not.

        Maybe try changing the settings around to see if it works?

        I’d also check to see if you have any conflicting plugins, by temporary uninstalling them to see if any changes are made.

        #18159
        Bamajr
        Customer

          If I change to your suggested:

          /%year%/%monthnum%/%day%/%postname%/

          …pagination works fine.

          I’ve tried with all plugins disabled, including plugins your theme requires, and it has no impact on the pagination when using:

          /%category%/%postname%/

          …for a permalink structure.

          However, I have to use that permalink structure, as the category represents each state, and the postname is the physical address of properties for sale.

          Why would pagination work with year, month, day & postname, but not category & postname?

          #18161
          Bamajr
          Customer

            Apparently, there is a long-standing category/postname issue. There have even been plugins created to fix it (https://wordpress.org/plugins/category-pagination-fix/), though they don’t seem to work on this current version of WordPress when combined with your Aspire Theme.

            #18162
            Bamajr
            Customer

              I’ve done a lot of reading about this issue today, including articles dating back over 7 years. I can’t believe this issue hasn’t been addressed in the WordPress Core. What’s even more baffling is this is the first time I’ve come upon this issue, and I use the:

              /%category%/%postname%/

              …Custom Permalink Structure, on just about every website I set up. This is the first time I’ve had an issue.

              This certainly doesn’t appear to be a theme issue, so you are welcome to close this as resolved.

              For historical purposes, anyone else who stumbles on this issue, take a look at: https://wordpress.org/plugins/fv-top-level-cats/

              #18163
              Wes
              Moderator

                That’s good to know, I never heard about that issue. The plugin you linked to hasn’t been updated in over 2 years so that may be the reason it’s not working properly (since there has been a lot of changes to WordPress from the time it was released/updated).

                I’ll send a note to a few devs I know to see if they have any ideas. It would probably be a good idea to post in the WP forums to see if any of them have went through the same issue and have a solution. If they have a solution I’d love to know so we can pass it along in case anyone else runs into a similar situation.

                #18165
                Wes
                Moderator

                  We must have been replying at the same time, I’m just now seeing your latest reply.

                  Yes I agree, it would be great if this can finally get resolved ASAP, as this is a serious issue. Can’t believe it’s been like this for so long. We should definitely get someone on this that can get it fixed.

                  #18167
                  Bamajr
                  Customer

                    Yes, I can’t believe how long this has gone, without being addressed in Core. There are a bunch of posts in the WordPress Org forums about this – even more on 3rd party sites.

                    I wonder if there is something specific some themes/frameworks do to remediate this issue, that other themes/frameworks miss? Almost has to be, right?

                    I tried a bunch of recommended solutions, from various websites, and none of them worked, except for https://wordpress.org/plugins/fv-top-level-cats/

                    And, to be clear (for those who may stumble on this thread later), the FV Top Level Cats plugin is actively being updated.

                    #18385
                    Bamajr
                    Customer

                      Any luck with this Wes?

                      #18391
                      Wes
                      Moderator

                        Unfortunately I haven’t heard back with any solutions just yet.

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • You must be logged in to reply to this topic.