Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here is the problem:

Let say I have mydomain.com. The externaldomain.com/article/mydomain has an iframe with mydomain.com inside but the externaldomain.com robots.txt contains:

Disallow: /article/ 

Will Google crawl mydomain.com inside the iframe at externaldomain.com/article/mydomain or it will block mydomain.com, because externaldomain.com robots.txt disallow the folder /article?

share|improve this question
up vote 1 down vote accepted

Disallow: /article/ will block the URL (or page) article/ and all subfolders or subpages.

That's why, if the robots.txt of externaldomain.com applies this directive for the user agent is googlebot, don't worry.

Here are Google instructions on this.

share|improve this answer
So does the iframe in /article/mydomain pointed on mydomain.com will also block? – Rei Mar 25 '14 at 10:02
/article/mydomain is considered as a subpage; therefore, it's blocked by robots.txt. – Zistoloen Mar 25 '14 at 10:04
ok does the google provide a document regarding that? – Rei Mar 25 '14 at 10:14
I have edited my answer to give you the link to Google support in this subject. – Zistoloen Mar 25 '14 at 10:27
Nice, Thanks @Zistoloen – Rei Mar 25 '14 at 10:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.