A better functon to filter valid Friendly URL.