V
V
Vyacheslav Belyaev2015-09-25 14:20:47
Apache HTTP Server
Vyacheslav Belyaev, 2015-09-25 14:20:47

How to redirect from GET parameter to subdomain?

I have a site like site.ru/?city=novosibirsk&utm_source=ssss
_ I have already read three dozen articles, but I understood little in this area

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vyacheslav Belyaev, 2015-09-27
@TroL929

Everything turned out to be much easier. Changes had to be made in the hosting panel in the domain settings. It was necessary to add dns records
to "Domain names"
*.site.ru. / A (Internet v4 address) / server ip
* / A (Internet v4 address) / server ip
in "WWW domains"
Add *.site.ru to aliases
Index page - index.php (or your own)
autosubdomains - disabled

S
ShamblerR, 2015-09-25
@ShamblerR

you have already answered your own question by asking it correctly.
You get the idea that GET is redirected differently.
All you have to do now is find out how it's done ;)
All I can recommend is
google +редирект с GET

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question