Changed the links for viewing the posts. Swtiched from post id to post slug