Expression Engine 3 pagination with page_uri
<p>I have looked for a while for a solution to this, but have been unsuccessful so far. Not sure if it's me, or if there's a problem with the pagination functionality.</p>

<p><strong>What I'm trying to do</strong></p>

<p>When on a page within a certain channel, I want to have 'prev' and 'next' buttons to click through to the next article in the channel. These links must use the page_uri set for each page.</p>

<p><strong>What I've tried</strong></p>

<p>I have a channel full of pages. In the template, I have added:</p>

<pre><code>{exp:channel:entries channel="project" dynamic="no" orderby="date" sort="desc" limit="1" paginate="bottom"}
    &lt;div class="container-fluid project-section pagination-bar"&gt;
        &lt;div class="container"&gt;
            &lt;div class="col-md-12"&gt;
              {paginate}
              {pagination_links}
              &lt;ul&gt;
                {previous_page}
                &lt;li&gt;&lt;a href="{pagination_url}" class="page-previous"&gt;Previous Page&lt;/a&gt;&lt;/li&gt;
                {/previous_page}

                {next_page}
                &lt;li&gt;&lt;a href="{pagination_url}" class="page-next"&gt;Next Page&lt;/a&gt;&lt;/li&gt;
                {/next_page}
              &lt;/ul&gt;
              {/pagination_links}
              {/paginate}
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    {/exp:channel:entries}
</code></pre>

<p>This is adding the links to the bottom of the page, but when clicking on them the URLs are just loading the same URL you're currently on, then adding /P1 to the end.</p>

<p>I need it to use the page_uri added in the CMS so that it clicks through properly and doesn't affect SEO on the site.</p>

<p>Any help appreciated on this one, thanks</p>