简体   繁体   中英

How to get dynamically loaded data crawled by search engines?

I am facing a issue where on website, we have navigation tabs on header, on hovering drop down appears and data is populated and shown to user. This data is dynamically generated and hence it wont appear on Page source. When researched, google crawlers crawls whatever present in page source. Though they wont crawl script tags.

Now my data is JSON data which is inside script tag and it appears on page source. This JSON data is used to populate results on navigation tabs using javascript.

I want this data to be crawled by search engines.

Is there a way to do this?

If is not present in DOM, then is not searchable, they wont crawl on it. It need to be in DOM so they will find it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM