Error 404 blog/page/2/

Hello i have problem.

I can’t view /blog/page/2/ i klick “_posts_link” and error 404 shows me

Blog Page -> home.php

$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
$args = array(‘posts_per_page’ => 5, ‘paged’ => $currentPage);
if( have_posts() ): $i = 0;

while( have_posts() ): the_post(); ?>

<?php $i++; endwhile; ?>
<ul class=”uk-pagination uk-background-primary uk-light”>
<li><?php next_posts_link(‘<span class=”uk-margin-small-right” uk-pagination-previous></span> Stare Posty’); ?></li>
<li class=”uk-margin-auto-left”><?php previous_posts_link(‘Nowe posty <span class=”uk-margin-small-left” uk-pagination-next>’); ?></li>

<?php endif;

Read more here:: Error 404 blog/page/2/

Leave a Reply

Your email address will not be published. Required fields are marked *