Try something like the following at the top of your .htaccess
file at sample.com
:
RewriteEngine On
RewriteRule ^code/. https://www.someotherdomain.com%{REQUEST_URI} [R,L]
Try something like the following at the top of your .htaccess
file at sample.com
:
RewriteEngine On
RewriteRule ^code/. https://www.someotherdomain.com%{REQUEST_URI} [R,L]