Answer the question
In order to leave comments, you need to log in
How to redirect a request from one site to another with the output of the result on the first one?
How can I redirect a request from site 1 to site 2 and display the result through site 1?
Those. user accesses site1
site1 accesses site2
site2 sends result to site1
site1 displays result
Vps no, hosting only.
Answer the question
In order to leave comments, you need to log in
In htaccess site1 add
RewriteEngine On
RewriteCond %{HTTP_HOST} ^site1.com
RewriteRule ^(.*) http://site2.com/$1 [P]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question