B
B
Best1232016-10-14 19:43:56
Nginx
Best123, 2016-10-14 19:43:56

How to set up a redirect from sitename.ru to m.sitename.ru and back?

Good day to all.
How to properly set up a redirect from sitename.ru to m.sitename.ru (for a mobile client) and back from m.sitename.ru to sitename.ru if the page is not found in the mobile version? I know that you need to use cookies, but somehow I can’t register everything correctly
. Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2016-10-14
@dimonchik2013

try to register correctly
How to make a redirect (redirect) to the mobile version of the site on the client side?
https://habrahabr.ru/post/108242/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question