Meta declaration annotation steps

Meta declaration annotation steps
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

Recommend

How to analyze MySQL query performance

Table of contents Slow query basics: optimizing d...

MySQL process control IF(), IFNULL(), NULLIF(), ISNULL() functions

In MySQL, you can use IF(), IFNULL(), NULLIF(), a...

Example method of deploying react project on nginx

Test project: react-demo Clone your react-demo pr...

Solution to multiple 302 responses in nginx proxy (nginx Follow 302)

Proxying multiple 302s with proxy_intercept_error...

Steps to modify the MySQL database data file path under Linux

After installing the MySQL database using the rpm...

Detailed explanation of Jquery datagrid query

Table of contents Add code to the Tree item; 1. S...

js handles account logout when closing the browser

Table of contents Classic approach question Furth...

Can MySQL's repeatable read level solve phantom reads?

introduction When I was learning more about datab...

The difference between z-index: 0 and z-index: auto in CSS

I've been learning about stacking contexts re...

A brief discussion on the placement of script in HTML

I used to think that script could be placed anywh...

Solution to Vue's inability to watch array changes

Table of contents 1. Vue listener array 2. Situat...

Install docker offline by downloading rpm and related dependencies using yum

You can use yum to install all dependencies toget...

A few experiences in self-cultivation of artists

As the company's influence grows and its prod...

mysql implements the operation of setting multiple primary keys

User table, ID number must be unique, mobile phon...