In wordpress next_posts_link(); returns http://currenturl.com/currentpage**/page/x/**.
What could I add in functions.php to return http://baseurl.com/page/x/ in all cases, so an absolute URL without just adding /page/x/ to the current page.
Thanks for your ideas guys!
Regex is your friend:
Adjust to suit your needs. It might be worthwhile defining your base url as a constant and encapsulating this functionality in a function.