Posted by: redescape | August 11, 2007

Search Engine Optimization[SEO] for Flash Websites. They did it, here’s how.

by Jason G on June 11th, 2007According to web usability consultant Jakob Nielsen, Flash websites are 99% Bad mmmkay. Two of the reasons he gives (in his now 7 year old report) for this claim are that:

  • The “Back” button does not work.
  • In general, Flash integrates poorly with search.

BLITZ has already addressed the first issue in our Flash Framework. The Framework implements an elegant and user-friendly solution that not only fixes the browser back button navigation issue, but also adds additional accessibility and usability functionality by adding support for:

With all of those problems solved, I decided to tackle the problem of how to optimize a Flash website for search engines. Since we are dealing with high end websites with large marketing budgets behind them, the end result had to be white hat compliant SEO. We couldn’t afford to get our clients websites blacklisted by the search engines. With search accounting for upwards of 40% of a websites total traffic volume (depending on the type of site) we needed to come up with a solution to offer to our clients that would give them more bang for their buck. The end result of our Flash SEO efforts looks a little something like this:

Search Engine Optimization tool for Flash websites

This application looks pretty simple on the surface, but the real power behind the tool lies underneath the covers.

The first thing we do with this app is load up a projects config.xml file. Our config.xml file is like mission control for a website and contains all the relevant data about a particular website. The application parses the configuration XML document and returns a list of all the page nodes for the site. Each page node in the XML file represents a page in the Flash site. Each page also contains (among other things) a title attribute, name attribute and a reference to a copydeck.xml file. The copydeck.xml files contain all the text that displays on each corresponding page of the site. Armed with all of this textual data, we can now generate all the necessary files to optimize our Flash site for search engines. Once you click the Optimize Website button, the tool will spit out search engine optimized pages for each of the page nodes it discovered in the configuration file. The files it generates include:

  • One HTML page per page node
  • Each HTML page will include site-navigation links to all other pages on the site
  • A sitemap.xml file so search engine spiders can easily discover all of the pages in a site
  • Each static HTML will by default deep-link to the corresponding page node
  • The HTML files all support back/forward navigation, plus pretty URLs, page title updates, etc. as outlined above
  • Each HTML page uses semantic HTML markup to optimize the page for search engine indexing
  • Each page also includes Flash version detection to deliver the best version of the website that the users browser supports
  • All HTML pages are fully compatible with any hand-held or mobile device, even if they don’t have Flash Light installed
  • All pages fully support any web-metrics scripts for visitor stats tracking

And what would a website tool be if we didn’t eat our own dog food? Check out the end results on a few pages on the BLITZ website:


Leave a response

Your response:

Categories