This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Fix my posts!


This plugin is meant for admins/people that have basic understanding of how WordPress works.

This is very useful after you import posts/images from another CMS via direct SQL or when you somehow messed up your posts/images.

The Plugin will process your posts one-by-one and repair some basic things when it finds a problem:

General repair

  • Create a valid post_name for all posts

Image repair

  • Fix image-metadata
  • Creates missing image-thumbnails

(The plugin uses core WordPress methods to fix images. So the result is exactly same, as if you re-uploaded the images via WordPress)

Custom repair

Simply create an action handler to manually check each single post-item in the database and repair it if required!

add_action( 'fix-the-post', 'your_handler' );
function your_handler( $the_post ) {
    $the_post->title = 'new title';
    wp_update_post( $post );
    echo 'Title updated!'; // You will see this in the repair-log on screen.


  • That's the plugin screen. Nothing fancy, just a button and a progress bar...

  • New in 1.2: A repair log and a custom-repair hook!


  1. Upload fix-my-posts.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You will get a new ‘Fix my posts’ menu-item in the ‘Tools’ menu


Who is this plugin for?

This plugin is meant for admins/people that have basic understanding of how WordPress works.
It is intended to help admins with setting up or fixing their WordPress sites


Great tool

This thing saved me tons of work, especially to import the images properly…

Succesfully repair all image metadata

Read all 6 reviews

Contributors & Developers

“Fix my posts!” is open source software. The following people have contributed to this plugin.


Translate “Fix my posts!” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Updated the image-correction code by implementing changes suggested by Fred (
  • New action-hook added for custom repair actions.
  • Display repair-log to the user.
  • Some smaller bugfixes and improvements.


  • Bugfix in the image-repair code.
  • Added a cancel button to stop the current process-loop.


  • Initial version released.