• Resolved pushpinderbagga

    (@pushpinderbagga)


    Hello

    I was facing and issue where my category page

    domain/category-name/page/2

    was automatically redirecting to some-other page in my website

    it may happen that in your case it might give a 404 error…

    I found many solutions including…

    adding $paged to the query_posts line…

    `$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    query_posts( $query_string . “&paged=$paged” );`

    and http://wordpress.org/extend/plugins/category-pagination-fix/faq/

    albeit none helped.

    The issue was resolved as:

    My permalink structure was – /%category%/%post_id%/%postname%.html

    I had kept . as my category prefix and left tag one as blank.

    So I removed the . and put a “category” there.

    It started working as domain/category/category-name/page/2

    you can replace “category” with whatever name you like…

  • The topic ‘Category Paging Issue – page/2 redirecting to someother page’ is closed to new replies.