MIP让搜索发现你的页面-规范升级

推荐阅读:MIP让搜索发现你的页面

说明

1、<link rel="standardhtml" href="xxx"> 将更改为 <link rel="canonical" href="xxx">
 
2、过渡期:<link rel="canonical" href="xxx">和<link rel="standardhtml" href="xxx">二者存在一个即可,2016.11.01开始,<link rel="canonical" href="xxx">必须存在
 
3、deadline:2016.10.30

示例

正确:

<!DOCTYPE html>
<html mip>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
        <link rel="stylesheet" type="text/css" href="https://mipcache.bdstatic.com/static/mipmain-v1.1.1.css">
        <link rel="canonical" href="xxx">
        <!-- noscript 标签是为了在不支持script的环境下快速的展现 mip 页面,推荐使用 -->
        <noscript>
            <style mip-officialrelease>
                body {
                    -webkit-animation:none;
                       -moz-animation:none;
                        -ms-animation:none;
                            animation:none
                }
            </style>
        </noscript>
        <style mip-custom>
            p {
                color: #00f;
            }
        </style>
    </head>
    <body>
        <p>Hello World!</p>
    </body>
    <script src="https://mipcache.bdstatic.com/static/mipmain-v1.1.0.js"></script>   
</html>

正确:

<!DOCTYPE html>
<html mip>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
        <link rel="stylesheet" type="text/css" href="https://mipcache.bdstatic.com/static/mipmain-v1.1.1.css">
        <link rel="canonical" href="xxx">
        <link rel="standardhtml" href="xxx">
        <!-- noscript 标签是为了在不支持script的环境下快速的展现 mip 页面,推荐使用 -->
        <noscript>
            <style mip-officialrelease>
                body {
                    -webkit-animation:none;
                       -moz-animation:none;
                        -ms-animation:none;
                            animation:none
                }
            </style>
        </noscript>
        <style mip-custom>
            p {
                color: #00f;
            }
        </style>
    </head>
    <body>
        <p>Hello World!</p>
    </body>
    <script src="https://mipcache.bdstatic.com/static/mipmain-v1.1.0.js"></script>   
</html>

错误:

<!DOCTYPE html>
<html mip>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
        <link rel="stylesheet" type="text/css" href="https://mipcache.bdstatic.com/static/mipmain-v1.1.1.css">
        <!-- noscript 标签是为了在不支持script的环境下快速的展现 mip 页面,推荐使用 -->
        <noscript>
            <style mip-officialrelease>
                body {
                    -webkit-animation:none;
                       -moz-animation:none;
                        -ms-animation:none;
                            animation:none
                }
            </style>
        </noscript>
        <style mip-custom>
            p {
                color: #00f;
            }
        </style>
    </head>
    <body>
        <p>Hello World!</p>
    </body>
    <script src="https://mipcache.bdstatic.com/static/mipmain-v1.1.0.js"></script>   
</html>

错误:

<!DOCTYPE html>
<html mip>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
        <link rel="stylesheet" type="text/css" href="https://mipcache.bdstatic.com/static/mipmain-v1.1.1.css">
        <link rel="standardhtml" href="xxx">
        <!-- noscript 标签是为了在不支持script的环境下快速的展现 mip 页面,推荐使用 -->
        <noscript>
            <style mip-officialrelease>
                body {
                    -webkit-animation:none;
                       -moz-animation:none;
                        -ms-animation:none;
                            animation:none
                }
            </style>
        </noscript>
        <style mip-custom>
            p {
                color: #00f;
            }
        </style>
    </head>
    <body>
        <p>Hello World!</p>
    </body>
    <script src="https://mipcache.bdstatic.com/static/mipmain-v1.1.0.js"></script>   
</html>

发布日期:

所属分类: 网站运营 SEO 标签: