(Found my solution wasn’t complete so I’ve updated this again)
I use the Pages system to ground some key overview page and rely on the section index to act as the view page, to make the URL cleaner for seo. EG:
Template Pages URI
/blog/overview -> /blog
/blog/index -> /blog/article_nameSince I’m not using the “blog/index”-page for the base pagination, there’s a link problem for page 1.
Pagination uses it’s own {auto_path}-type setup. You also can’t use another type of path here {auto_path}, {title_permalink}, etc since the braces are parsed decoded in the URL…frustrating.
A partial solution was in the Entries tag - “paginate_base”. I always forget about this one. It sets the {base_path} for the loop, allowing you to hit the correct target page. So adding:
paginate_base="/blog/overview"to the Entries tag gave me this:
<div class="recent-articles-list">
{exp:channel:entries
channel="blog"
status="Open"
limit="3"
dynamic="no"
paginate="bottom"
paginate_base="/blog/overview"
}..which gives me mostly-working code. I can click forward through the numbers and back again until I hit P1, or the first page, which doesn’t seem to work because the Pages URI points to “/blog” and not “/blog/overview” - the actual physical location. Any of the {pagination_url} links for {first_page} or {previous_page} when it lands on P1 causes a 404. I can hot wire the first link to be a regular link so that works, but it also makes me feel dirty.
This is as far as I can take it. Is there a way around this?