Okay, the time has come to move CHAITGEAR from chait.net to chaitgear.com (which is a different box...). At the same time I do that, I am updating my core code (from 1.0a to a 1.5.2-esque branch), and want to turn on nice-URIs.
So, I know all about moving sites from the physical side (i.e., moving the DB, changing wp-config, changing entries in the DB to match the new domain name). I'm also already running a test 1.5 system here at home that's synced with my live 1.0a site, so I know the 'upgrade' process will work fine.
But, I need to do two things:
1. when a request comes in to chait.net, I want to redirect it to chaitgear.com IN MOST CASES. There ARE a few posts (notably my own WP plugins) that I will likely want to keep hosted off chait.net, but maybe in chait.net/wp/. So I potentially need some tricky rewrite rules (I'll do em if someone can 'template' for me) to hand certain redirects to new locations on chait.net, and all the rest to the new home on chaitgear.com.
2. when redirecting, I want to redirect to a new nice-URI/permalink format. probably /arc/%postname% for articles and /cat/%name% for categories, and possibly all under /wp/ to keep the upper directory cleaner. ;)
I know there are plugins which do some part of this, but not sure they'll do the job. Don't know if I should do this in htaccesss on chait.net, or via a custom index.php (or plugin) on chait.net that hands back the 301 redirect.
I am also (for anyone who knows me) obviously capable of writing custom PHP redirection code, or adapting one of the available plugins to do the work... I just don't know where to start!