如何解决如何修复SiteContext的PageContext“ URLS_SAFE_CHECK__CONTENT_URL_REWRITED”错误
底部的Sitemap XML具有以下错误。当前正在使用多语言站点地图,这是使用的网址集。由于底部的脚本标记,Google尚未获取Sitemap。 如何解决这个问题。
<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">
new(类PageContext {构造函数(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,arguments); return self.onUrlChange(),ret;});让firstReplaceEvent =!0; history.replaceState =(f =>函数(参数){var ret = f.apply(this,arguments);返回firstReplaceEvent || self.onUrlChange(),firstReplaceEvent =!1,ret;})(history.replaceState),window.addEventListener(“ hashchange”,( function(){self.onUrlChange();}));} onUrlChange(){this.client.emitToBg(“ URLS_SAFE_CHECK__CONTENT_URL_REWRITED”);}})('MARIO_POST_CLIENT_almalgbpmcfpdaopimbdchdliminoign')
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。