• Resolved migdlm

    (@migdlm)


    Hello,

    The pagination on my site does not work. After activating the debug console of your plugin I found this:

    “Details: Pagination found in the requested URL. Trying to reach same URL without pagination”

    Why? How can I disable this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter migdlm

    (@migdlm)

    I solved it.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    If a 404 is triggered on requested URL which ends with /page/2/, the plugin first redirect to the same URL without the pagination.

    Then, if the the URL without pagination still return a 404, then it will look for a similar post/page/category etc…

    I’ve setup that priorisation to add a layer of accuracy for post_types/categories/terms archives, in case the said pagination does not exists.

    It’s not really a problem because if the URL without /page/2/ still trigger a 404, then the normal plugin behavior is applied.

    Try to reach the URL in “Details: Pagination found in the requested URL. Trying to reach same URL without pagination” in your browser and see what happens ??

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    EDIT: BTW, if the said pagination is supposed to work, then it means you got a problem with your permalinks/query.

    My plugin only takes action if a 404 NOT FOUND page is about to be displayed.

    If you just added a new custom post type/taxonomy with new permalinks structure in your theme, remember to visit your Settings > Permalinks in order to flush your rewrite rules and try again!

    Thread Starter migdlm

    (@migdlm)

    It was an old WordPress issue that has not been solved for years for some reason. Your plugin works well and I would recommend to anyone. Please, keep it updated!

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Thanks!

    Of course I will ??

    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not redirect pagination’ is closed to new replies.