How to move a site from a .com to .net domain name ?


We want to move a website from to If I'm not mistaken, the correct way to do that is to keep the website at the same location in the server, and to make the other domain name point to that folder, correct ?

Problem is, we don't want the to appear in the internal pages... And how to make sure the hard link that include "" won't send to a 404 after the switch ? Should I modify the database in anyway ?

Basically, my question is : what is the easiest and best way to change the domain name of the site from to without any troubles ?

Thanks a lot for your answers.


P.S : I'm aware there is an article on how to move Wordpress, but it doesn't include my configuration if I'm not mistaken.