Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG Blogs - link[rel="next"] doesn't respect category #53

Open
christopherdarling opened this issue Jan 25, 2023 · 0 comments
Open

BUG Blogs - link[rel="next"] doesn't respect category #53

christopherdarling opened this issue Jan 25, 2023 · 0 comments

Comments

@christopherdarling
Copy link
Contributor

Install SilverStripe Blog
Create a few blog posts
Create a category, with enough posts in to trigger pagination
Browse on the frontend /blog/category-slug/ look at page source and you'll see the tag <link rel="next" href="/blog/?start=12"> instead of ... href="/blog/category-slug/?start=12"

Down to SeoPageExtension::getPaginationNextTag() using getPageURL() which uses the Controller Link method.

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

No branches or pull requests

1 participant