E
E
Egorus2015-10-07 23:13:34
JavaScript
Egorus, 2015-10-07 23:13:34

How to display the content of another site on a page?

I have a Wordpress site located at X.ru and I created a YXru

subdomain. How can I make it show X.ru/page when going to YXru ? Without any changes. Do not offer a redirect, since the combination of the YXru address is important So far, with my skill, I see only crooked solutions: - Stupidly copy all the HTML with the code and put all the styles into it - Raise a copy of wp by linking it to the wp database of the X.ru site Agree, this is nonsense ... Are there options? :)


Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Novikov, 2015-10-07
@dmitriy_novikov

iframe or ajax request.
and in the case - just set up .htaccess so that when you go to YXru, X.ru/page is loaded. via rewriteurl, or something like that.

V
Vladimir Korotenko, 2015-10-07
@firedragon

mod_rewrite?
nginx?
302 stackoverflow.com/questions/9363760/301-or-302-red...
lots of options

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question