I am using following functions to display pagination on archive pages of my site.
<?php previous_posts_link('< Previous', $loop->max_num_pages); ?> <?php next_posts_link('More >', $loop->max_num_pages); ?>
And it is working very fine on my localhost. But not on my server, the issue is that we have some redirects written on my server's .htaccess and since my wordpress is subdomain I dont really want to touch my root .htaccess file.
Default pagination links my pages to
and so on.. but the above links gets redirected to something like following
which eventually returns 404 page. (ofcourse its due to .htaccess redirects on my server)
So All I want to do is change permalink structure for my pagination so that my pagination links look something like these :