Fixed localize_url to properly localize paths for sites that are on a subdirectory (also modified process_url and $home/here(_url) properties)