Fix some invalid urls for PHP.