织梦程序做百度小程序后H5资源替换URL适配规则写法

作者 : Maria Orlova 发布时间: 2020-12-12 共109人阅读

百度小程序的推出后,获得更多站长的拥护,流量红利给与了百度小程序站点,那么今天我们分享下织梦程序做百度小程序后,设置H5资源替换后,提交的URL适配规则写法。

百度小程序优势:

同质内容情况下,搜索会优先展现智能小程序页面;②小程序标记:智能小程序结果已接入百度搜索,会通过“小程序”标记提示C端用户,强化小程序品牌、吸引用户点击。

为何要做H5站点关联?

若小程序希望替换搜索中已有H5站点资源,需要先进行H5站点关联,关联是为了校验开发者是否对该站点拥有操作权限(关联时需保证小程序和H5站点都关联在同一个主体下)。完成H5站点关联后,可已关联站点下流量较大的热门目录进行替换,提交适配规则并查看最终的替换结果。

如何关联H5站点?

请在【搜索接入】>【自然搜索】>【H5资源替换】>【关联H5站】中关联H5站点。

织梦程序URL适配规则:

https://m.sckuntai.com/$ => pages/index/index
https://m.sckuntai.com/dedecms_mf/([^\/\.\-]+).html$ => pages/product/index?id=${1}
https://m.sckuntai.com/qiyemuban/([^\/\.\-]+).html$ => pages/product/index?id=${1}
https://m.sckuntai.com/dedecms_zx/([^\/\.\-]+).html$ => pages/product/index?id=${1}
https://m.sckuntai.com/mobile_mb/([^\/\.\-]+).html$ => pages/product/index?id=${1}
https://m.sckuntai.com/html/([^\/\.\-]+).html$ => pages/product/index?id=${1}
https://m.sckuntai.com/ecsoft/([^\/\.\-]+).html$ => pages/product/index?id=${1}
https://m.sckuntai.com/dedecms_az/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/dedecms_jq/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/dedecms_mk/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/dedecms_aq/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/dedecms_wt/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/dedecms_m/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/fangzhan/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/dedecms_cj/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/dedecms_cp/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/seo/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/ec/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/sem/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/mobile/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/news/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/host/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/announce/([^\/\.\-]+).html$ => pages/article/index?id=${1}
https://m.sckuntai.com/youhuihuodong/([^\/\.\-]+).html$ => pages/article/index?id=${1}

H5资源替换和不提交H5资源替换区别什么?

做了H5资源替换,目前来看,流量会更大。

百度小程序绑定网站手机端详细教程【站长亲测】