Possible Duplicate:
.htaccess Redirect Old Threads
We had quite a hefty news site which had very ugly urls from a custom cms. We have since relaunched and moved all the content over to Wordpress and have used "pretty permalinks".
We were also running a newsletter campaign throughout and would like to redirect all the ugly url's to the pretty one's. How can this be done? Can they be put in the htaccess file? We just want it so when the url is clicked in the newsletter it will redirect to the new url.
Here is an example of what we want:
We want this - http://www.domain.com/index.php?id=3&nid=91 to be redirected to this http://mediwales.com/this-is-my-pretty-permalink
What type of redirect's should they be?
UPDATE:
This is my current htaccess file in the root:
RewriteEngine on
RewriteRule ^([0-9A-Za-z]+)$ /index.php?page=$1 [L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress