SEO 的站点地图 - 覆盖还是单个页面?
简单的问题 - 我将向我设计的网站添加站点地图 - 仅用于 SEO 目的。站点地图是否可以出现在 jquery 覆盖层中(它非常小,仍然可以位于单独的页面中)。或者最好将页面单独保留为标准链接?
干杯 保罗
Quick question - i'm going to add a sitemap to a site I've designed - just for SEO purposes. Is it OK for a sitemap to appear in a jquery overlay (it's only very small and could still be in a separate page). Or is it best to keep the page seperate as a standard link?
Cheers
Paul
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议将页面单独保留为标准链接,以便搜索引擎抓取工具能够扫描您网站的源代码。关于它们是否扫描 JavaScript 一直存在争议,但可以肯定的是,对于那些关闭 JavaScript 的人来说,如果您专注于 SEO,请尽量避免使用 JavaScript。
“爬行大量 Javascript 代码使他们很难获得他们真正要查找的信息,即关键字以及有关您网站的相关文本和信息。因此,由于爬行程序很难真正找到任何与您网站相关的内容都会损害您的 SEO 策略” 链接
此外,如果您需要它的功能,请考虑某些用户禁用了 JavaScript,这意味着 jQuery 将无法工作。
I would suggest to keep the page separate as a standard link so that search engine crawlers will be able to scan your site's source code. It's been debated whether they scan JavaScript, but to be sure, and for those with JavaScript turned off, try to avoid JavaScript if you're focused on SEO.
"Crawling through lots of Javascript code makes it very difficult for them to get to the information they are really looking for, which is keywords and relevant text and information about your site. Therefore, since the crawlers have a difficult time actually finding out anything of relevance about your site, it can hurt your SEO strategy" link
In addition, if you will want it for functionality, consider that some users have JavaScript disabled, meaning jQuery will not work.
将其放在机器人、爬虫的单独页面中,并作为任何关闭 JavaScript 的人的后备。然后用 jquery 覆盖覆盖该链接,以使人类访问者变得漂亮且快速。这将确保每个人都能获得他们可以处理的站点地图版本,无论是人类还是机器人。
Put it in a separate page for bots, crawlers, and as a fallback for anyone with javascript turned off. Then override that link with a jquery overlay to make things pretty and fast for your human visitors. This will ensure that everyone will be given a version of your sitemap they can handle, human or bot.