Meta declaration annotation steps: 1. Sort out all PC pages that have a one-to-one correspondence with mobile pages for adding Meta statements; PC pages without a corresponding relationship do not need to add Meta. 2. Meta declaration format: <meta http-equiv="mobile-agent" content="format=[wml|xhtml|html5]; url=url"> Note: The red font part is the content that needs site customization. According to the protocol language of the mobile page, select one of [wml|xhtml|html5]. The latter in url=url represents the mobile page URL corresponding to the current PC page. The two must be in a one-to-one correspondence (rather than uniformly corresponding to the mobile site homepage) Meta declaration example: <meta http-equiv="mobile-agent" content="format=html5;url=http://m.jb51.net/"> <meta http-equiv="mobile-agent" content="format=xhtml;url=https://www.jb51.net/"> 3. The webmaster needs to put the Meta statement inside the PC page source code, as follows: <head> <meta http-equiv="mobile-agent" content="format=html5;url=http://m.jb51.net/"> … </head> 4. When adding content, webmasters should reduce the negative impact caused by incorrect annotations. Things to note are: a. Mark the correct mobile site URL to avoid corresponding errors and spelling errors b. Ensure the availability of the adapted mobile page Effective status: The Meta statement is marked to indicate that this adaptation solution is only applicable to Baidu mobile search, that is, the adaptation will only take effect when users visit the site through Baidu mobile search; it will not take effect through other channels. Effective time: If the markings are accurate and the corresponding relationship is correct, Baidu will process it in about seven days, and there will be a delay for old pages. However, Baidu does not guarantee that it will be able to replace the corresponding relationship you submitted in the mobile search results. |
<<: The difference between HTML name id and class_PowerNode Java Academy
>>: Detailed explanation of the platform bus of Linux driver
1. What is Refs is called Resilient File System (...
This article shares the specific code for drawing...
Elastic stack, commonly known as ELK stack, is a ...
I won't say much nonsense, let's just loo...
Copy code The code is as follows: <BODY> //...
As more and more Docker images are used, there ne...
Overview The cloud platform customer's server...
Export database data: First open cmd and enter th...
This article shares the specific code of jQuery t...
1. Cause: The effect after the subbox is set to f...
The code looks like this: <!DOCTYPE html> &...
Table of contents 1. Use 2. Solve the problem of ...
MySQL Installer provides an easy-to-use, wizard-b...
DCL (Data Control Language): Data control languag...
Preface When I was working on a project recently,...