Answer the question
In order to leave comments, you need to log in
How to write a redirect from m.site.com for 1 request?
RewriteRule ^(.*)sitemap.xml$ index.php?rewrite=sitemap.xml [QSA]
RewriteRule (.*) https://m.%{HTTP_HOST}/sitemap.xml site.com/sitemap.xml[R=301,L]
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