蜘蛛池

PC页、H5页跳转适配最优方案上线公告

蜘蛛池qq25496334    2021-12-07 19:14:40    754
各位亲爱的网站管理员: 鉴于移动化大潮的汹涌和H5页的炫丽普及,百度针对PC页与H5页的跳转适配方式推出了最优方案:在pc版网页上,添加指向对应移动版网址的特殊链接rel="alternate"标记,这有助于百度发现网站的移动版网页所在的位置;同时在移动版网页上,添加指向对应pc版网址的链接rel="canonical"标记。 例如: pc版网址:http://www.example.com/page-1 移动版网址:http://m.example.com/page-1   那么此示例中的注释如下所示: 在pc版网页(http://www.example.com/page-1) 上,添加: 在移动版网页(http://m.example.com/page-1) 上,所需的注释应为: 强调:之前的Meta标记(mobile agent)会继续沿用,但我们推荐使用HTMAL5语言制作的移动页面使用最新方案进行跳转适配,其它如xml语言的移动页跳转适配,需要继续使用之前的meta标记方式—— 关于PC页、H5页跳转适配最优方案上线公告,程序员你肿么看?希望网站管理员在学院[工具动态]的讨论帖中留言。

相关链接

L
locastor.cn
https://locastor.cn/xwzx/gsxw/10930.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10931.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10932.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10933.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10934.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10935.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10936.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10937.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10938.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10939.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10940.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10941.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10942.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10943.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10944.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10945.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10946.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10947.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10948.html
L
locastor.cn
https://locastor.cn/xwzx/gsxw/10949.html
共 20 个项目

本文链接:https://zzc.vikiseo.com/s/185.html

转载声明:本站发布文章及版权归原作者所有,转载本站文章请注明文章来源!

上一篇   下一篇

相关文章