To get previous & next page URLs in Umbraco, you can use the below piece of code in your razor view.
I got this issue after hosting my umbraco website on GoDaddy server.