These .htaccess file directives enable you to redirect your old domain to your new domain.
The directives should be pasted at the top of your old domains .htaccess file.
You can find your .htaccess file in the root directory of your domain WordPress installation.
Here’s 2 different sets of directives to choose from.
Choose one only.
The second option redirects domains with or without the www to the new domain.
Both these directives ensure all URL’s from your old domain will be redirected to your new domain.