Seo 如何修复PageContext“;URL“安全”检查“内容”URL“重写”;站点地图错误

Seo 如何修复PageContext“;URL“安全”检查“内容”URL“重写”;站点地图错误,seo,xml-sitemap,Seo,Xml Sitemap,底部的站点地图XML有以下错误。目前正在使用多语言站点地图,这是使用的URL集。由于底部的脚本标签,谷歌无法获取站点地图。 如何解决这个问题 <urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="https://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="https://www.w3.o

底部的站点地图XML有以下错误。目前正在使用多语言站点地图,这是使用的URL集。由于底部的脚本标签,谷歌无法获取站点地图。 如何解决这个问题

<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="https://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="https://www.w3.org/1999/xhtml" xmlns:mobile="https://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="https://www.google.com/schemas/sitemap-image/1.1" xmlns:video="https://www.google.com/schemas/sitemap-video/1.1">

新建(类PageContext{constructor(clientKey){this.client=window[Symbol.for(clientKey)],this.bindEvents();}bindEvents(){const self=this;var f;history.pushState=(f=history.pushState,function(){const ret f.apply(this,参数);返回self.onUrlChange(),ret;});让firstReplaceEvent=!0;history.replaceState=(f=>function(params){var ret=f.apply(this,arguments);return firstReplaceEvent | | self.onUrlChange(),firstReplaceEvent=!1,ret;}(history.replaceState),window.addEventListener(“hashchange”,“function(){self.onUrlChange();}”);}onUrlChange(){this.client.emitToBg(“URL安全检查内容(URL重写”)})('MARIO_POST_CLIENT_almalgbpmcfdaopimbdchdliminoign')