Use get_permalink() instead of get_blog_permalink()