Skip to content

allow path to be passed as the pagination URL#1710

Merged
brandonkelly merged 4 commits into
6.xfrom
feature/1610-allow-path-as-pagination-url
May 20, 2026
Merged

allow path to be passed as the pagination URL#1710
brandonkelly merged 4 commits into
6.xfrom
feature/1610-allow-path-as-pagination-url

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Dec 16, 2025

Description

It’s possible to set the feedUrl to a path, but it’s not possible to do the same with the paginationUrl. This PR adds the ability to use a path as the paginationUrl.

We need to keep the mechanism that ensures the absolute pagination URL out of the box, so this PR adds allowPathInPaginationUrl settings, which is false by default and keeps the current behaviour. When set to true, if the value passed to the paginationUrl is deemed relative, it won’t be turned into an absolute URL. The setting can be configured via the config/feed-me.php file, and, like other settings, can be set globally or on a per-feed basis.

Related commits:
38f3607
555c0ee

Related issues

#1610, #1708

@brandonkelly brandonkelly changed the base branch from 5.x to 6.x May 20, 2026 16:05
@brandonkelly brandonkelly merged commit e000d81 into 6.x May 20, 2026
2 checks passed
@brandonkelly brandonkelly deleted the feature/1610-allow-path-as-pagination-url branch May 20, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants