301 Redirect Your Old Domain Name to New Domain Name WordPress using .htaccess

Change your website domain name without loosing search engine rank. If you changed your website domain name without redirect then search engines consider your new domain as duplicate website.
So the 301 redirect is important.
301 Redirect Your Old Domain Name to New Domain Name WordPress using .htaccess

For Different Page Names

For Same Page Names