• Resolved microberto

    (@microberto)


    Hi, I’m trying to get pagination working for my RSS feed.

    The issue is that my permalink setup is a custom structure: /%postname%.

    • With permalinks back to default, /?feed=rss2&paged=2 works.
    • But with permalinks on my custom structure, /?feed=rss2&paged=2 redirects to /feed?paged=2 which *does not work*.
    • Additionally, with the custom structure, /page/2/feed does not work (it redirects to /feed!) although /page/2 works for end-users reading the site.

    Is this a bug? I’ve disabled all plugins and went back to the default theme to confirm this.

    Long story short, how do you get RSS feed pagination with a custom permalink structure in place?

    Thanks!

    • This topic was modified 6 years, 11 months ago by microberto.
    • This topic was modified 6 years, 11 months ago by microberto.
    • This topic was modified 6 years, 11 months ago by microberto.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    RSS feeds to not paginate, that is a limitation of the RSS spec.

    RSS feeds only contain the number of posts you choose at Settings > Reading in your site’s Dashboard.

    Would you mind explaining why you want your RSS feed to paginate? Perhaps we can find an alternative for you.

    Thread Starter microberto

    (@microberto)

    RSS feeds to not paginate, that is a limitation of the RSS spec.

    Thanks, I can’t argue with that, although it’s odd that WordPress *sometimes* accepts the paged parameter for it.

    Would you mind explaining why you want your RSS feed to paginate? Perhaps we can find an alternative for you.

    We are actually trying to pull tag/date/URL data from our blog into our main site and database. I thought the RSS would be available for use, but since it’s not, I’ll need to find a secure API plugin to retrieve the data from the blog.

    Another solution is to switch to the default permalink mode (which will allow us to use paged RSS) and then use the Custom Permalinks plugin so our permalinks stay the same.

    But if this is not part of the RSS spec, using an API plugin is probably best long-term.

    Thanks for the response!

    Moderator James Huff

    (@macmanx)

    How about WordPress’s built-in REST API?

    https://developer.www.ads-software.com/rest-api/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Get Page 2 / Paginated RSS Feed with Custom Permalink Structure’ is closed to new replies.