fixed URL rewriting for field.php