Answer the question
In order to leave comments, you need to log in
How to correctly determine the type of device and slip the desktop/mobile version?
Got this question.
PHP is not enabled.
Those. either JS or htaccess - which is better and how to implement correctly?
The desktop version consists of several pages, while the mobile one is a single page
Answer the question
In order to leave comments, you need to log in
Here is a link to Google
https://developers.google.com/webmasters/mobile-si...
In short - make a subdomain from which you give the mobile version (links between the main domain and the mobile one must be the same).
By User-Agent, you determine the mobile browser ( stackoverflow.com/questions/11702453/how-does-chro...
Depending on which domain the request came to and which browser you either give content to or send to the desired domain.
Well, write the metadata.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question