Use get_permalink, not $_SERVER['REQUEST_URI']

Applies to https://github.com/GigaOM/gigaom/issues/4468