lucy24 - 3:27 am on Nov 16, 2012 (gmt 0)
There's a complication though. If the original post shows what the URLs really look like, then the old URL is php-plus-query while the new URL is extensionless. Or at least queryless.
So unless the new domain uses static html pages, or there's a CMS that takes care of this stuff, you will also need a rewrite pointing to where the content really lives. This part will happen on the new domain.
AND, if I'm reading all of the above correctly, the new domain will need a supplementary redirect for anyone who rashly types in newdomain.com/index.php?page=long-complicated-query. Or manually changes the bookmark.
"Will y'all stop blathering and just gimme the code?"
Nope. Once in a blue moon someone forgets himself and just spits out the two lines of code instead of the 20-line explanation, but you can't count on it.