Answer the question
In order to leave comments, you need to log in
How to organize the "cloning" of the site?
There is a site1.zz domain, it is necessary that the site1.zz site with all paths be opened on the site2.zz domain, but a js script is inserted into the html, and it is better to be able to edit the content on the fly
How to organize this?
upd
This should be done gracefully not on PHP
, the site can be https and its paths are not known
Answer the question
In order to leave comments, you need to log in
curl on a server with the site2.zz domain
Only if the site1.zz site works only via https, then "cloning" is unlikely to work
You can redirect the path to index.php using REQUEST_URI
.htaccess, also look for ready-made anonymizer scripts, the principle is the same.
Iframe , curl and dt and so on ... I would stupidly copy it to myself wget -k -l 10 -r site.ru and already edit it as I wanted. I would wrap it in ob_serv and spin it there as I wanted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question