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

Scrape data from a website and post it on the blog

While importing from machine-readable formats, such as RSS is quite straightforward and usually has plenty of tools around… it is very different story with arbitrary HTML. If you are not up to code this from scratch, then closest semi-automated tool I know is Dapper – it can process HTML pages and according to rules that … Read more

WordPress (+WPMU) Import/Export ALL settings?

Answering another Question, I pointed to this tutorial: Creating a Simple Backup/Restore Settings Feature Lee Pham on Jun 22nd 2012 In this tutorial, I’m going to show you how to create a simple backup/restore feature for your WordPress blog. With this feature, you can backup all options to another place, that you can restore them … Read more

Importing Existing Users with Passwords

You can use wp_insert_user. Since your old database has passwords in base64, you can easily get the original password string using base64_decode. $new_user_data = array( ‘user_pass’ => ‘password’,//pass your decoded password string ‘user_login’ => ‘username’,//pass your username ‘user_email’ => ’email’, ‘first_name’ => ‘firstname’, ‘last_name’ => ‘lastname’, ‘role’ => ‘author’//if you want to specify a different … Read more

Creating a one click demo importer

I believe that if you are not going to do a massive sql insert (which I think is likely just as efficient) that you need to go ahead and utilize the plugin api and at the time of the button being pressed, create them. I think it’s pretty clear your choice is either to create … Read more

Importing large data from blogger

Firstly, your upload_max_filesize is much smaller than your post_max_filesize which means that even though you can POST 100MB of data, PHP will only accept files in that POST data which are 8MB or less. Try increasing this limit. Secondly, are you sure that your php.ini is being loaded by your host? Not all hosts allow … Read more

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