Export All Posts and Media to XML and/or Word

For anyone that is lurking, I solved my issue. I wrote a plugin that allows you to export to a html file, or just show it on screen. It basically outputs all pages using minimal CSS (just H1/H2/H3) into an HTML file, or to the screen (or emails the file to you). Another way, which … Read more

How to assign name the WordPress export.xml file

By default, the filename is defined in /wp-admin/includes/export.php: $sitename = sanitize_key( get_bloginfo( ‘name’ ) ); if ( ! empty( $sitename ) ) { $sitename .= ‘.’; } $date = gmdate( ‘Y-m-d’ ); $wp_filename = $sitename . ‘WordPress.’ . $date . ‘.xml’; And you can filter it: $filename = apply_filters( ‘export_wp_filename’, $wp_filename, $sitename, $date ); So … Read more

UTF8 Encoding problems when exporting posts

The file is likely correct, but the program that you’re viewing it in is probably interpreting it with ISO-8859-1 / latin1 encoding. The é pairing is something I have often seen when viewing a UTF-8 encoded é in latin1. Be sure that the program you are viewing the file in is set to view in … Read more

Moving wordpress site to subpage of another site

This is how I would do it: Log into “other organization” install All In One WP Migration make a copy of your site download said copy In site.com Create a directory called acquiredpages install a blank copy of WordPress log into your blank wordpress install All In One WP Migration run the migration with the … Read more

Export local WP install to live – help needed

Your easiest option is to just take a copy of your local database and import it to the server using phpmyadmin or similar. You can then add these 2 options to your wp-config.php file to update the site URL. define(‘WP_HOME’,’http://example.com’); define(‘WP_SITEURL’,’http://example.com’); That was you will get everything in the database on to the live site … Read more