Technical infos Pixelpost to WordPress

Hey there,

just want to share some technical infos, just in case you like to migrate your Pixelpost blog to WordPress like I did.

First thing is, that you probably don’t want to loose your posts, comments, categorys and the photos. Fortunately there is an addon available for Pixelpost.This addon creates a file which can be imported in WordPress thru the Tools->Import function, besides the posts, comments and categorys, it reads out all the photos and you can import all of them in WordPress too with just one click. You can download the addon at this link.

If you have changed your domain, it’s useful to have some code to redirect requests from the old web to the new adress. This should be done by a file called .htaccess, which must reside in your pixelpost directory. Here are a few examples how you can redirect links to old posts, to your old RSS and the index page:

1. Redirect to single posts

Assumption: you want to have links to posts on your old Blog redirected to the corresponding new posts, so if someone clicks on an old link, he will be redirected to the new web.

Assuming the link to a photo/post in your old Pixelpost installation is

And the Link to the same post (after importing) on your new WordPress blog is

In this case the permanent rewrite-condition in your .htaccess file must be aware of the “?” in the old link, so the redirect needs a special treatment. The statement in .htaccess must look like this:

RewriteCond %{QUERY_STRING} ^showimage=1122$ 
RewriteRule ^index.php$ [R=301,L]

With this rule, you can redirect every single link to the corresponding post on the new website. So there are no problems with links to special postings of the old blog on other websites, the post and the photo will be displayed on the new web even someone clicks the old link.

2. RSS Feed redirect

If you havn’t already switched your RSS-Feed to feedburner (f.ex.), it’s useful to redirect the old feed too.


The links to the RSS-Feeds in your old Pixelpost installation are

The link to the new feed on your WordPress installation is

The correct redirect statement in .htaccess looks like this:

RewriteCond %{QUERY_STRING} ^feed=rss$
RewriteRule ^index.php$ [R=301,L] 
RewriteCond %{QUERY_STRING} ^feed=rss2$
RewriteRule ^index.php$ [R=301,L] 
RewriteCond %{QUERY_STRING} ^feed=atom$ RewriteRule ^index.php$ [R=301,L] 

3. Redirecting the index.php

As the last rule in your .htaccess file, you can redirect all requests from the old site to the new. This should be the last directive, because the .htaccess will be read top down, so if you want to redirect only assorted, single posts (like in 1.), you can redirect to the sites index as a last ressort if none of the single rules match.

RewriteRule ^.*$ [L,R=301]

Maybe these informations could be useful if you planning to migrate :)


== Please click on the photo for the entire view ==


  1. 29. April 2011

    Wow, I wish I had known about this before :(, I’ve since deleted my pixelpost folders and database.

  2. Armands 29. April 2011

    Great info, thanks! Suppose I’ll have to switch to WP too, and this is definitely going to be useful.

  3. Kris Koeller 14. August 2011

    The new theme looks great. Been thinking about such a change for a while…

Comments are Disabled