Answer the question
In order to leave comments, you need to log in
How to display the site.ru/hello.php?page=1 page on the test.site.ru subdomain (not a redirect)?
Hello.
There is a page, let's say http://site.ru/hello.php. The page identifier is passed to this page using the GET method through the page parameter, which is subsequently pulled from the database. That is, for example, http://site.ru/hello.php?page=1. There is a need to show the content of the page, which is shown, for example, at http://site.ru/hello.php?page=1 , on the http://test.site.ru/ subdomain . Several such substitutions should be made.
Can you tell me the best way to implement this? There is an ISPmanager panel, you can create a subdomain in it, but how to display information on it? Is it possible to make a substitution through .htaccess so that when you go to http://test.site.ru/the user was shown the page http://site.ru/hello.php?page=1?
Thank you in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question