• Resolved warpdesign

    (@warpdesign)


    I’m experiencing a strange issue with my wordpress site where for pages of categories I get a 404 error. My permalinks are set up with this setting

    /%category%/%postname%/

    The error occurs when I look at a category page deeper than the first page. So for example
    site.com/category-name <–this works

    but

    site.com/category-name/page/2 <– this is a 404??

Viewing 9 replies - 1 through 9 (of 9 total)
  • govpatel

    (@govpatel)

    try just using /%postname%/ in custom structure .

    Thread Starter warpdesign

    (@warpdesign)

    Using just /%postname%/ and nothing else seems to break both the category homepage and the sub paginated pages..

    govpatel

    (@govpatel)

    I have been using just /%postname%/ ever since I installed wordpress and I do not have any problems.

    You can check here see if you can find a answer
    http://codex.wordpress.org/Using_Permalinks

    Thread Starter warpdesign

    (@warpdesign)

    Apparently this is a known issue. There is a section in that page called ‘Paged Navigation Doesn’t Work’ which suggested deleting the .htaccess file which I did and reset the permalink setting to recreate .htaccess but that didn’t fix the problem.

    Interesting that you are able to use only /%postname%/ and view a category page located at /category-name and it works for you but not me…

    Chip Bennett

    (@chipbennett)

    How, exactly, do you want your pretty permalinks to appear?

    Thread Starter warpdesign

    (@warpdesign)

    OK, apparently there is a plugin to fix this issue??
    http://wordpress.org/extend/plugins/category-pagination-fix/

    Surprised this issue exists and hasn’t been fixed yet.

    Thread Starter warpdesign

    (@warpdesign)

    Chip, I want my post permalinks to be /category-name/post-name/
    and that is working just fine. The problem arises when I look at a category page which shows all the posts in that category and is paginated.

    Page one, which should be located at /category-name, works just fine. Page two, which should be located at /category-name/page/2, gives a 404 error. Apparently it thinks I’m looking for a post named “page” in the category instead of the second page of posts in the category. Hope that makes sense?

    Chip Bennett

    (@chipbennett)

    What if you used:

    %year%\%category%\%postname%

    Would that be acceptable?

    That would, I think, make your issue go away.

    (IIRC, the problem gets into the minutia of the way WordPress’ rewrite rules work. Basically, you’re going to have problems if you start your pretty permalinks with a text string.)

    Thread Starter warpdesign

    (@warpdesign)

    Thanks. I just installed the plugin referenced above and that apparently fixed the issue…

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

The topic ‘Permalink issue’ is closed to new replies.