Silverstripe-SEO icon indicating copy to clipboard operation
Silverstripe-SEO copied to clipboard

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

Open christopherdarling opened this issue 1 year ago • 0 comments

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.

christopherdarling avatar Jan 25 '23 15:01 christopherdarling