Here is a good way to globally redirect an entire site from one domain to another and preserve the site paths.
would be redirected to
(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