百度小程序
小程序基础库: 3.320.32 使用框架: React
复现步骤测试的taro版本是 3.4.6
直接编译成小程序提交给百度平台,审核过了以后,查看索引收录,会发现一大堆的相同页面,我这里出现了1600多条低质量页面,url前面路径完全一样,只不过url后面TaroTimeStamp挂了不同的值
这个地址是baiduapp的蜘蛛爬取的
对于这些链接,百度提示:资源内容低质则无法被搜索索引,请尽快修复或 删除死链
错误原因:该页面内容空短,不符合索引要求,请修改后重新提交
有问题的链接(从1600多条里面任选3条共参考):
/pages/index/index?%24taroTimestamp=1650014884199&%2524taroTimestamp=1649991556745&%252524taroTimestamp=1649968514119&%25252524taroTimestamp=1649892730538&%2525252524taroTimestamp=1649816854870
/pages/index/index?%24taroTimestamp=1650133248471&%2524taroTimestamp=1650079123259&%252524taroTimestamp=1650024688141&%25252524taroTimestamp=1649968624472&%2525252524taroTimestamp=1649968597357
/pages/index/index?%24taroTimestamp=1650112016426&%2524taroTimestamp=1650111757652&%252524taroTimestamp=1650100893370&%25252524taroTimestamp=1650090070493&%2525252524taroTimestamp=1650068412300
期望结果在baiduapp蜘蛛抓取小程序内容时,不应该出现 TaroTimeStamp的参数 链接仅仅应该是:
/pages/index/index
实际结果同一个url,后面出现大量不同的TaroTimeStamp的值
有问题的链接(从1600多条里面任选3条共参考):
/pages/index/index?%24taroTimestamp=1650014884199&%2524taroTimestamp=1649991556745&%252524taroTimestamp=1649968514119&%25252524taroTimestamp=1649892730538&%2525252524taroTimestamp=1649816854870
/pages/index/index?%24taroTimestamp=1650133248471&%2524taroTimestamp=1650079123259&%252524taroTimestamp=1650024688141&%25252524taroTimestamp=1649968624472&%2525252524taroTimestamp=1649968597357
/pages/index/index?%24taroTimestamp=1650112016426&%2524taroTimestamp=1650111757652&%252524taroTimestamp=1650100893370&%25252524taroTimestamp=1650090070493&%2525252524taroTimestamp=1650068412300
环境信息👽 Taro v3.4.6
Taro CLI 3.4.6 environment info:
System:
OS: Windows 10
Binaries:
Node: 16.13.2 - D:\ProgramData\Miniconda3\envs\tarojs3\node.EXE
npm: 8.1.2 - D:\ProgramData\Miniconda3\envs\tarojs3\npm.CMD