Error: Failed to import tag/post

After a long day of tweaking, I found there were several problems: The whitespace in the XML matters. The importer throws errors when each item’s child elements are not in the same line. Any whitespace between them will cause an indentation error and fail that row’s import. This doesn’t seem to matter on the actual … Read more

WXR slicing script

Googling for “split wxr file” returned several results, including python script for splitting .wxr file GUI for splitting WXR files (OSX and Windows) .Net splitter for WXR files Haven’t tried any of these, but the comments look positive.

I am trying to match the wpallimport using the Xpath Filter

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 … Read more

Importing users to Buddypress with custom fields

I ended up writing a bunch of MySQL statements. My process went: Add users into wp_users. Add first name into wp_usermeta. Add last name into wp_usermeta. Add nickname into wp_usermeta. Add last activity into wp_usermeta. (This is important for BuddyPress; otherwise, users won’t show up in the members-loop) Add name to BuddyPress. Add custom “phone” … Read more

Importing Multiple DB to one MU database

Best thing to do is read the docs: http://codex.wordpress.org/Tools_Export_Screen and http://codex.wordpress.org/Importing_Content#WordPress and work with WXR files rather than trying to export directly from the database. You also have the option on Import to grab images. Or you can merge the contents of the three wp-content/uploads/ directories, but be aware that it’s possible some images may … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)