If you have migrated your WordPress blog from another blogging platform but the post slugs weren’t generated, you can my Generate Post Slugs Plugin to have the slugs generated from the post title.

Why I Wrote This Plugin

I wrote this plugin for use on this very blog because when I ported my custom blog software entries to WordPress, I didn’t bother to generate slugs with the import script I cobbled together. A few weeks ago I made my URLs SEO-friendly and realized that all those posts I imported years ago were missing slugs.

License

By downloading, you acknowledge that this plugin is released under the GPLv2 LicenseAS IS with no implicit or explicit warranty of fitness for any purpose. While I have tested the plugin with WordPress 3.2.1 and have used it to fix the slugs for posts on this very site, it is STRONGLY SUGGESTED that you make a backup of your WordPress installation prior to using it.

Getting the Plugin

Installing the Plugin

Installation is just like any other WordPress plugin. On the plugin install page in your WordPress Dashboard, upload the zip file. Then activate the plugin under the Installed Plugins menu and follow the instructions provided there to use the plugin to generate your slugs.

Glad the hear you found the plugin useful. It would appear that if you run the plugin on a WP installation with a large database that you may encounter a memory error (which is what happened in your case). If possible, you can remedy this error by setting the memory_limit php.ini directive to something higher. Yours appears to be set to 64MB. (Out of curiosity, how many rows are in your WP database?) Unfortunately, depending on your hosting situation, you are not always able to set the memory_limit directive. I may extend the plugin to allow for execution offsets which would keep the script from using too much memory on a single execution.