changed the link to the page slug instead of permalink