Hello!
I would like to make a copy of a website to other domains, which will work like mirrors. For example, the main website test.com and the mirrors first.test.com, second…, third… etc. I just need that the mirrors show the main website. The html frame does not suit me.
I am trying to find the easiest solution like copying the index.php from the main website to the others and change the path to “config.core.php” in the copied indexes to the path to the “config.core.php” of the main website. As a result, I got the mirrors but “base href=‘[[++site_url]]’” of the mirros link to the main website. If I change the base of mirrors programmably, for example, js,css will not load becase the mirrors do not have them.
I am suprised that I can not find the answer on the Internet. I do not believe that there is no simple solution and that I will have to invent it. Guys, please, any ideas? .htaccess?