Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SEO optimization for content generated by Javascript? [closed]

Tags:

seo

I have created widgets for my website(xyz.com), which can be embedded in different websites. Let's say I embed a widget which is a photo album, in another website, abc.com. The content is residing on xyz.com but is pulled via Javascript into abc.com.

Will the content generated by the widgets (Javascript) on abc.com will be indexed by search engines?

like image 849
Pankaj Avatar asked Jul 07 '26 01:07

Pankaj


2 Answers

Google will not index anything that is not visible when a page is loaded with JavaScript disabled.

There is more information in this similar question: google indexing text retrieved by ajax or javascript after page load

Also, you can test what Googlebot 'sees' by using the "Fetch as Googlebot" feature of Google Webmaster Tools.

If you want Google to index your Ajax, you can read Google's recommendations here: http://code.google.com/web/ajaxcrawling/docs/getting-started.html

like image 87
ethanpil Avatar answered Jul 10 '26 00:07

ethanpil


If you follow Google's scheme for Making AJAX Applications Crawlable, then Google will index content that's generated with Javascript. So will Bing and Yandex.

Implementing this scheme is somewhat involved which is why there are companies that provide it as a service that plugs in at webserver level. (I work for one of these: https://ajaxsnapshots.com

like image 25
Robert AJS Avatar answered Jul 10 '26 01:07

Robert AJS



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!