Correct hard-coded urls with functions and $site['url']