Will dynamically generated content via Javascript hurt SEO

独自空忆成欢 提交于 2019-12-10 17:34:08

问题


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

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.

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

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?


回答1:


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.



来源:https://stackoverflow.com/questions/2917173/will-dynamically-generated-content-via-javascript-hurt-seo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!