将产品隐藏在表单后面

发布于 2024-12-02 15:42:01 字数 1459 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

落花浅忆 2024-12-09 15:42:01

如果查找产品的唯一方法是填写并提交表单,那么 Google 或任何其他搜索引擎都无法查找该内容并为其编制索引。要解决此问题,您有以下几种选择:

  1. 在您的网站上放置一个 HTML 站点地图,该地图也链接到您的产品。除了是生成具有良好锚文本的内部链接的好方法之外,它还为搜索引擎提供了查找该内容的替代方法。

  2. 提交 XML 站点地图。这与 HTML 站点地图类似,只不过它是 XML 格式且不公开可见。

  3. 使用渐进式增强功能,并为未打开 JavaScript 的用户提供可用的菜单。然后使用 JavaScript 重新创建表单功能(假设这会提高可用性)。

您不应遇到任何重复内容问题,除非您可以使用多个 URL 访问同一产品。上述情况均不应导致这种情况发生。但是,如果您实施产品的方式可能会导致这种情况发生,只需使用规范 URL 来标识主 URL。然后,如果搜索引擎看到相同内容的多个页面,他们就会知道哪一个是主页并将其包含在搜索结果中。

If the only way to find your products is to complete and submit a form then, no, Google nor any other search engine will be able to find and index that content. To get around this you have a few options:

  1. Have an HTML sitemap on your site that also links to your products. Besides being a good way to generate internal links with good anchor text, it also allows search engines an alternative means to find that content.

  2. Submit an XML sitemap. This is similar to an HTML sitemap except it is in XML and not publicly visible.

  3. Use progressive enhancement and have a menu available to users who don't have JavaScript turned on. Then using JavaScript recreate your form functionality (assuming this increases usability).

You shouldn't run into any duplicate content issues unless you can get to same product using more then one URL. None of the above should cause that to happen. But if how you implemented your products can cause this to happen just use canonical URLs to identify the main URL. Then if the search engines see multiple pages for the same content they know which one is the main page and to include it in their search results.

被翻牌 2024-12-09 15:42:01

为避免任何现场重复内容问题,您可以使用规范标签 指示主要内容页面。这对于通常有多种方式到达产品列表的电子商务网站来说非常有效。

为每个产品设置单独的页面对 SEO 很有帮助的另一种方式是,这可以用来为访问者创建一个良好的链接,以便通过社交网络、论坛、博客等进行分享。因此,他们可以共享 mytirestore.com/firestone/r78-13 等内容,而不是共享 mytirestore.com?q=24892489892489248&p=824824 之类的内容。这种针对关键字的外部链接也将为您针对产品特定关键字的 SEO 创造奇迹。

To avoid any on-site duplicate content issues, you can use the canonical tag to indicate the primary content page. This works quite well for ecommerce sites where there are often multiple ways to reach a product listing.

Another way having a separate page for each product is helpful for SEO is that this can be used to create a good link for your visitors to share via social networking, forums, blogs and so forth. So, instead of sharing something like mytirestore.com?q=24892489892489248&p=824824 they can share something like mytirestore.com/firestone/r78-13. This kind of keyword targeted external link will also work wonders for you SEO for product specific keywords.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文