While Matching the Xpath Filter to set not to import properties having the city
Gandia , this works but some properties are having Gandía , Jávea. So it is not matching.
Issue seems to be with this í , á characters.
/property[price[1] > 5000 and town[1] != "Jávea" and town[1] != "Calpe" and town[1] != "Elche" and town[1] != "Gandía" and town[1] != "Oliva" and town[1] != "Valencia" and town[1] != "Valle de Albaida"]
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
Finally I found the solution to this issue on documentation of wp all import
https://www.wpallimport.com/documentation/troubleshooting/encoding/
If you’re sure that your XML file is valid, it’s not using UTF-8 encoding, and WP All Import is still rejecting it, try adding this code snippet inside your child theme’s functions.php file
add_filter( 'is_xml_preprocess_enabled', 'wpai_is_xml_preprocess_enabled', 10, 1 );
function wpai_is_xml_preprocess_enabled( $is_enabled ) {
return false;
}
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0
