I currently have a blog set up with WordPress using URLs like so:
This was before I knew anything about anything. There's a significant amount of content there now and I want to change my URL structure to:
Is there a way to set up my .htaccess and mod rewrite so when users go to the first url they get a 301 redirect to the second URL? I know to change my WordPress address (URL) setting from www.domain.com/blog to www.domain.com and my permalink setting to /%postname%-%post_id%, but how do I tell the old URLs to redirect to the new ones?