We are in process to migrate old old domain to new domain using wordpress. this migration is happening on the same server and IP (need to confirm but still 99% sure). I have already asked same question few time back on pro-webmaster preserve-search-engine-index-while-shifting-to-new-domain. Since the database is same, all we did is export the data from old database to new database changed the link and now everything is perfect.
i know about that we can set 301 redirect in the .htacces file but not sure how to do this, and since there are so many links in the old domain. i am not sure how best we can handle this redirect. Do we need to create a mapping for each old URL to new URL? and where we should put these mapping in the Old domain? any help in this regard will be much helpful.If i need to provide more information, please let me know i will put any other required information in post.
Thanks in advance