We have a website with its content loading in iframe except header and footer. Since SEO bot does not consider iframe, it affect seo rankings.

what are the alternate ways to put the shorter version of iframe content in parent page with its visibility hidden so that crawlers can read it

it seems display:none is not allowed

can we use with heading tags for this (h1...h6)

or please let us know the correct approach to deal with this NOTE: we can not remove iframe, we just need way to put some seo friendly information in dom on top of iframe so that crawler can catch it and its also not visible to user

1 Answer 1


Google considers the content of an iframe as part of the main page's content. I last updated my article on it in January 2022.

I'm not sure how other search engines deal with iframes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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