Will content loaded by AJAX affect SEO/Search Engines?

后端 未结 7 1880
遥遥无期
遥遥无期 2020-12-16 15:53

i wonder if content loaded dynamically by AJAX affect SEO/ability for search engines to index the page?

i am thinking of doing a constantly loading page, something l

7条回答
  •  悲哀的现实
    2020-12-16 16:34

    Crawlers don't run JavaScript, so no, your content will not be visible to them. You must provide an alternative method of reaching that content if you want it to be indexed.

    You should stick to what's called "graceful degradation" and "progressive enhancement". Basically this means that your website should function and content should be reachable when you start to disable some technologies.

    Build your website with a classic navigation, and then "ajaxify" it. This way, not only is it indexed correctly by search engines, it's also friendly for users that browse it with mobile devices / with JS disabled / etc.

提交回复
热议问题