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

Possible Duplicate:
How good is it for SEO if you have a widget that lives on other sites?

I'm designing a voting widget that other people can put on their websites, and the widget will have links to my site (partly for functionality and partly for SEO).

I'd like to design the widget such that my main website, gets the SEO benefits, and I'm not sure which techniques for designing a widget would accomplish that. Here is what I am thinking:

  • Creating a widget defined by <div> tags that people would embed in their web page -- This seems certain to give my site the SEO benefits, but it seems like it might be more work for the person using the widget to get it to work right and look nice.
  • Using an iframe -- I think that the iframe link would get the SEO benefit and not my website, which would be linked to from the contents of the iframe.
  • Google Gadget -- I don't know how this works yet.

What would be the best way to design a web widget to maximize the SEO benefits for my website?

share|improve this question

migrated from stackoverflow.com May 11 '11 at 17:40

This question came from our site for professional and enthusiast programmers.

marked as duplicate by John Conde May 11 '11 at 18:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I'd appreciate a comment relating to the vote to close. – Jeff May 11 '11 at 17:22
The close votes are migrating your question to the Webmasters SE site. – Blender May 11 '11 at 17:28
@Blender: thank you. – Jeff May 11 '11 at 17:30
This question is similar and has a good answer: webmasters.stackexchange.com/questions/12384/… – Jeff May 11 '11 at 18:05

I'd do the first approach.

The <iframe> just seems overkill and the Google Gadgets approach loads the Widget via a <script> tag in the <body>, which won't be compatible with Google's web crawler.

share|improve this answer
Although concise, this answer has info not present in the answers to questions of which this is a duplicate. – Jeff May 11 '11 at 18:39

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