将通过Javascript动态生成的内容伤害SEO [英] Will dynamically generated content via Javascript hurt SEO

查看:154
本文介绍了将通过Javascript动态生成的内容伤害SEO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这就是我想做的。我想动态加载内容。

This is what I would like to do. I would like to load content dynamically.

除了实际内容之外的所有内容都将通过javascript呈现。我将所有必需的信息放在页面底部的javascript变量或数组中。然后我将使用javascript将内容放置在指定区域。

Everything except the actual content will be rendered by javascript. I will place all the required information in a javascript variable or array at the bottom of the page. Then I will use javascript to place the content in the designated area.

这些是我想要javascript渲染的类型:

These are the types of things I would like javascript to render:


  • 登录菜单

  • 标题和徽标信息

  • 边栏信息

  • 页脚信息

  • 对话框弹出窗口

  • 广告

  • Login menu
  • Header and logo info
  • Side bar info
  • Footer info
  • Dialog popups
  • Ads

所有MEAT内容都不会通过javascript呈现。我将使用后端服务器将内容放在html中。我的逻辑是,更多真实内容将以HTML格式呈现,所有其他内容将通过javascript呈现。这会帮助或伤害SEO吗?

All of the MEAT content will not be rendered by javascript. I will use the backend server to put the content in html. My logic is that more of the real content will be in HTML and all the other things will be rendered by javascript. Will this help or hurt SEO?

推荐答案

是的,这会伤害SEO。您希望SEO机器人可以访问您的所有链接/菜单/导航,否则您的网站将无法正确编入索引。你究竟要在这里完成什么?我确信有很多方法可以在不损害SEO的情况下完成你想做的事情。

Yes this will hurt SEO. You want to have all your links/menus/navigation to be accessible by the SEO bots otherwise your site will not be indexed properly. What exactly is it you're trying to accomplish here? I'm sure there are plenty of ways to accomplish what you're trying to do without hurting SEO.

这篇关于将通过Javascript动态生成的内容伤害SEO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆