Use get_permalink, not $_SERVER['REQUEST_URI']
Merge pull request #2 from Camwyn/permalink

Use get_permalink, not $_SERVER['REQUEST_URI']