I want to be able to redirect users to a different TLD but keep the same path:
For example if the user goes to:
example.com/cars/10
Usi
If you have mod_rewrite enabled on your server, you can place this into your .htaccess file.
RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^example\.com$ RewriteRule ^(.*)$ http://my_new_site.com/$1 [R=301,L]