1

On our website, we have loads of PDFs and Word Docs displayed via the Google Docs Embed widget:

<iframe src="http://docs.google.com/viewer?url=http://our-url.com/view=file.doc&embedded=true" width="xxx" height="xxx" style="border: none;"></iframe>

Is there any way to make Google actually crawl and index the content of these boxes?

It would help our ranking tremendously, seeing that due to the nature of our website, our entire unique content is displayed in the Google Docs window... thanks in advance.

stuckinamiddle
  • 111
  • 3
  • 9

1 Answers1

2

Two things:

It looks like your links will be crawled by Google. Do robots crawl iframes? (Also, if you want Google to index the content of the file, make the sharing setting (on the Google Doc) "Public on the web").

Secondly, register your website on Google Webmaster Tools. This will basically ensure that Google knows about your site, and you can check on how often Google crawls your site, etc. etc. You have to confirm that you're the owner of the domain though, so you'll need to have access to nameserver management (I believe).

Community
  • 1
  • 1
Phil Bozak
  • 2,792
  • 1
  • 19
  • 27
  • How about the iFrame from App Script, example: `function doGet() { return HtmlService.createHtmlOutputFromFile('Index') .setSandboxMode(HtmlService.SandboxMode.IFRAME); }` Do we need configure anything on Google Search Console or robot.txt? – Antonio Ooi Aug 17 '15 at 11:21
  • @AntonioOoi found an answer to your question after this time ? – user305883 Mar 07 '19 at 21:47
  • @user305883: Nope, but I believe iFrame contents that are not on your Search Console's domain (or property) will not be regarded by Google as part of your site content -- just a guess though. – Antonio Ooi Mar 09 '19 at 05:12