URLs need to be assembled using the {url ...} Smarty function; these will break if path_info URLs are disabled in config.inc.php.