Snippet for mass updating slugs in WordPress
Append to the end of wp-config.php
Load up your WordPress site's front page
Remove code from wp-config.php
This snippet is provided AS IS, no responsibility is taken for any mishaps to your site by the use of this code.
Remember to always back up your database before running custom code against it.