ninjachicken1
ninjachicken1

Reputation: 187

How can I make an iframe seo friendly?

I have a website which provides embeddable content in an iframe. I want search engines to see it so the site gets backlinks. To that end I'm planning to replace the content with a link to our site and a javascript button that changes the content back to the iframe. That way the pages using our widget load quicker as well. Does anyone have any idea how to do this?

Upvotes: 4

Views: 14383

Answers (5)

Liza
Liza

Reputation: 11

change <iframe></iframe> to <object></object>

change src to data

example :

<object data="http://example.com/" title="My Title" width="640" height="270" style="border:none; overflow:hidden;"></object>

Upvotes: 1

lucky boost
lucky boost

Reputation: 86

Sorry can't post more then 2 links yet

a javascript button that changes the content

this you will need to test see what Matt Cutts has to say on the topic http://www.youtube.com/watch?v=Mibrj2bOFCU

Upvotes: 0

Matthias Wegtun
Matthias Wegtun

Reputation: 1261

You can index your iFrame trough robots.txt and google web master tools (add the URL of the iframe source to be crawled). This will only index the static page withouth the page around it. So it won't score high on the Search Engine Result page (as it misses too much, navigation usability).

Since Google Penguin 2.0, links in iFrames might be treated differently as well.

I suggest not using the iFrame if you aim for Search Engine Purposes, this will probably affect your search engine score more negatively than positivly

Upvotes: 4

Raptor
Raptor

Reputation: 54212

To make SEO friendly, avoid using IFRAME, as contents in IFRAME will NOT be indexed.

Reference: http://moz.com/community/q/iframes-seo

Upvotes: 0

Related Questions