WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Category Archives Pagination Issue (3 posts)

  1. tbadorrek
    Member
    Posted 1 year ago #

    I have permalinks set to "/%category%/%postname%/".

    When I navigate to myURL.com/articles/ to view all of my posts in the category "Articles",the first page of posts will appear. If I click "Previous Entries", I get a 404 and the URL changes to myURL.com/uncategorized/page/

    However, if I go to myURL.com/category/articles/ everything works fine and going to the next page of results works. But all of my category links are in the format myURL.com/articles/ so I need it to work this way.

  2. tbadorrek
    Member
    Posted 1 year ago #

    Interesting... no idea why I'm having this problem with WP 3.3.2, but this plugin (designed for WP 2.7) fixes it...

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

  3. tbadorrek
    Member
    Posted 1 year ago #

    Or, if you're like me and prefer to add code to functions.php instead of installing a plugin, just add this code to your functions.php file:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

Topic Closed

This topic has been closed to new replies.

About this Topic