What's the best way to ensure that post and page slugs use underscores instead of hyphens, without needing to edit the slug manually (or updating the page manually)
One approach I've tried is to hook into
sanitize_title, but this seems to only be called when the post is updated, so not very practical for a blog of several thousand post. Is there any way to force each post to update?
I need this to preserve compatibility as an old MovableType site is moved into WordPress - using .htaccess isn't really an option