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
Recently, a new requirement "front-end cache...
Table of contents 1. Introduction 2. Self-increme...
Background: Some experiments need to be completed...
To beautify the table, you can set different bord...
This article shares a dynamic loading progress ba...
CSS: Copy code The code is as follows: html,body{ ...
Table of contents Question 1: How are props used ...
Preface: MySQL master-slave architecture should b...
Table of contents 1. Introduction 2. Entry mode o...
Block-level element features : •Always occupies a ...
The first method: dynamically add a class to show...
Preface This article uses pdo's preprocessing...
Table of contents 1. Overview of MySQL Logical Ar...
I'm building Nginx recently, but I can't ...
Recently, when doing homework, I needed to nest a ...