Fix path of url

Shouldn't it be more like http://core.trac.wordpress.org/browser/tags/3.6/wp-includes/link-template.php#L1904.

Currently it would break multisite and scheme support.