Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已通过 .HTAccess 将我的所有网站 URL 设置为在没有任何索引的情况下显示。* 引用,因此使我的规范定义更简单。我的问题是,sitemap.xml 定义是否也需要丢失 index.* 引用?最终目的不是混淆谷歌......
您可能需要为我们提供一些示例,以确保我们100%正确理解您。
但是,是的,您的 XML 站点地图自然应该反映您的真实 URL :)
因此,如果您现在使用 somedir/ 而不是 somedir/index.html,您的 XML 站点地图应该反映这一点:)