I created a mobile version of my website, which is a one-page webapp. I work with the php server side and js + jquery on the front panel.
How can I automatically redirect mobile browsers to a mobile web application in a search-transparent way for search engines?
Should I only allow mobile bots on a mobile site? (with robots.txt)
Does the web application need to indicate pure duplicate content from the actual site?
PHP php-mobile-detect "(" mobileesp", ), , . SESSION , , .
Smarty , SESSION.
, , , , , URL-, ( ) , / , .
, , Google .., , .
- , ?
. serveride script.Google -:
? ( robots.txt)
, . DocType , , . (Robots.txt )
- Central: google index your mobile site
, - - ?
, - -. , . , " ", " " (. )
: Google -
You must use 301 redirects from each page to the corresponding page for mobile devices. I'm not sure about the other two questions, maybe someone else can give a better answer.
Source: https://habr.com/ru/post/1761118/More articles:Python: changing a process name with setproctitle - pythonWhy is my SqlDependency not working - sql-serverProgrammatically send SMS messages using a personal mobile account? - smsTo what extent do you quote the author in the project fork? - javaSqlDependency not working - sqlDo you embed copyright in your code? - commentsStrange.NET remoting SerializationException with MarshalByRefObject - c #Do a double query or two separate queries? - performanceTemplated Class has a circular dependency - c ++SMS - incoming message processing - .netAll Articles