L
L
Leonid2016-06-07 17:57:34
Apache HTTP Server
Leonid, 2016-06-07 17:57:34

All requests from m.site.ru/* to site.ru/* except m.site.ru (m.site.ru/index.php) - how?

I know that this is a banal question, but I can’t figure out for myself what to write in .htaccess:
so that all requests to the address:
m.site.ru (including m.site.ru/index.php) get unchanged to a real file on the subdomain: m.site.ru/index.php
and all other requests ( m.site.ru/*****) went to the main domain site.ru
Thank you!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question