Update friendlyUrl.php