WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Pixelpost Importer

Import your PixelPost database in WordPress (categories, posts, comments, and ratings).

What exactly are imported ?

Categories, Posts, and Comments. Tags are not supported in this version.

How can I keep my old PixelPost links?

Here is a small hack-ish redirection script, to set where PixelPost's index.php was. Note that this works only if PixelPost and WordPress are installed on the same host. Simply create index.php and copy/paste the following script:

<?php

define('WORDPRESS_LOAD', /* insert here the path to wordpress's wp-load.php */);

if( ! isset($wp_did_header) ) {
    $wp_did_header = true;
    require_once( WORDPRESS_LOAD );
    wp();
}

$link = home_url('/');

if( isset( $_GET['showimage']) && class_exists('PP_Importer') ) {
    $pp_post_id = intval( $_GET['showimage'] );
    $pp_importer = new PP_Importer();
    $wp_post_id = $pp_importer->get_pp2wp_wp_post_id($pp_post_id);
    $link = get_permalink( $wp_post_id );
} else if( isset( $_GET['x'] ) ) {
    switch($_GET['x']) {
        case 'rss':
            $link = get_bloginfo('rss2_url');
            break;
        case 'browse': // todo one dayƓ
            break;
    }
}

header( "Status: 301 Moved Permanently", false, 301 );
header( "Location: " . $link );
exit();

Requires: 3.3 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-11
Downloads: 465

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1