• I am using Beautiful taxonomies plugin. For my custom post type, using filter option based on Categories and tags. I have created taxonomies for adding tags for the posts. The taxonomies are Project Category(Category), Project tags(Tags), Topics(Tags). The plugin displays all the three dropdowns and based on the selection displaying posts. But when I click on the pagination links getting page not found error. It displaying posts well when I filter with first two dropdowns, here I can see the posts on the second page.
    I am getting the url like this
    siteurl/project(custom post type)/project_category/attention-reach-diffusion(category)/project_tag/general(tag)/topic/outputs-book-chapters(tag);
    when I click on second page or next button, generating url like this
    “project_category/attention-reach-diffusion/project_tag/general/topic/outputs-book-chapters/page/2/” but this url is not working saying page not found.

    Please help me with a solution.

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jonathan de Jong

    (@jonathandejong)

    Hi Kevin,

    It’s possibly a known bug which I’ve got a fix for coming in the next version πŸ™‚
    I’ve just been overrun with regular work to be able to push out the next version.

    Hi Jonathan,

    Thank you for this beautiful plugin, i am using it in my website, and i too faced this 404 error on pagination after i added a third taxonomy to the filter.
    /cpt/tax1/term1/tax2/term2/page/2 works but /cpt/tax1/term1/tax2/term2/tax3/term3/page/2 does’nt work.
    website page : https://www.allo-colocations.com/hebergement/loyer/250-500/region/aquitaine/type-de-logement/appartement/page/2/

    Thank you again for this awesome plugin.
    Jamal

    Hi there,

    I’m experiencing the same problem.

    I’ve got a Custom Post Type called ‘Cars’ and taxonomy called ‘Class’. The problem this plugin has is that instead of going to example.com/cars/class/class-name/ , it goes to example.com/car/class/class-name/ (notice the ‘car’ in the URL is singular)

    I just thought to give my 2 cents on this issue, as this IS a lovely plug-in that I would love to use. A lot.

    Thanks!

    Plugin Author Jonathan de Jong

    (@jonathandejong)

    Hi @whereverpanda
    Just to be clear, you also experience 404 errors? Or is it just about your slugs not matching?
    Because you probably have a different set rewrite slug (car) or vise versa.

    Hi Jonathan,

    No, I also get the 404 errors, when my taxonomy page is set to show only a certain number of posts and I try to go to the next page.

    Thanks!

    Plugin Author Jonathan de Jong

    (@jonathandejong)

    Ah okay.

    I still think the reason you’re seeing /car/ and not /cars/ is due to rewrite rules in registering the post type.

    As for the 404 error I hope to get a new version up this week that should fix this. I can’t be 100% certain it’s fixed until some of you guys test it since I can’t seem to be able to reproduce the issue for some reason.

    Is this updated yet? because I’m having the same issue, and I’d like to know if it’s something on my end or if it’s this bug.
    Thanks for all your work! I’ve loved this plugin so far.

    This is the page I’m working with.
    http://rachelelizabethbridal.com/custom-dress/
    I built my own selectors, instead of using yours, but yours did the same thing. Perhaps this helps with narrowing down the problem?

    Okay, guys I think I found a solution. When my taxonomy slugs used underscores(_), page 2 and onward didn’t work. When they used dashes(-), they worked just fine.
    Hope this helps!!

    Plugin Author Jonathan de Jong

    (@jonathandejong)

    Interesting πŸ˜€
    It should’ve worked with _ as well.. did you have the same values for query_var and potentially rewrite_slug as well?

    I’m not exactly sure, because I’m new-ish to wordpress (been doing it for a year) and I used the pods plugin to build my taxonomies.
    What do you mean by using the “same values” for query_var? are you referring to the building of the taxonomy or when I was working with your plugin to sort everything?

    Plugin Author Jonathan de Jong

    (@jonathandejong)

    Ah I see.. I have not used pods myself and nowadays I always register my post types and taxonomies with my own code πŸ™‚

    query_var and rewrite slug are two parameters of the register_taxonomy function:
    https://codex.wordpress.org/Function_Reference/register_taxonomy

    In the past BTF has had some issue with those not being set to the same value, altho it should be fixed now I initially figured this might be another edge-case where issues occur.

    @dmh707 you can set those in the Advanced Options tab when you create or edit the Taxonomy in Pods

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Pagination issue – page not found error’ is closed to new replies.