Jarkko Saltiola
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Pagination broken on category/archive pageNoted a similar issue on a site that has been around 9 years and which is being migrated to Twenty Twenty-Four currently. It had started already on the previous GeneratePress (“hybrid block theme”) based theme during simultaneous multisite migration but it went unnoticed there, so seems to predate FSE on my case.
Site permalink settings are following:
For some reason, the category archive pages have ended up having two different paths, of which only the other one has working pagination links while they seem identical otherwise.
- /<category_name>/ shows category archive page with query loop rendering broken 404 pagination urls eg:
- /category/<category_name> shows category archive page with query loop rendering working pagination links eg:
Dynamic category archive links on article pages lead to the working path so things are mostly working, but there are some links in content that lead to this faulty path that should not exist in the first place AFAIK.
Maybe @dchchloe it could help to try changing category link structure to have /category/ before the <category_name>? Guessing it’s setting can contribute pagination issues like this.
- This reply was modified 9 months, 3 weeks ago by Jarkko Saltiola.
- This reply was modified 9 months, 3 weeks ago by Jarkko Saltiola.