Here is a good way to globally redirect an entire site from one domain to another and preserve the site paths.
originasite.com/here-is-a-path/
would be redirected to
finalsite.com/here-is-a-path/
Source: ^/(.+)
Destination: https://www.finalsite.com/$1
(or similar if there is another path like /blog/ you want this to go after)
Further Reading and Tools
- Redirect Checker – useful for avoiding browser cache misdiagnosis when testing redirects
- WPENGINE Advanced Rewrite Options
- WPENGINE – Common RegEx Used for Redirect Rules and SSL