KML files are files used by Google Maps and Google Earth to provide a standard way to reference and manipulate images and corresponding geographic data. KML files allow you to add those red tear-drop pin-points onto a map and label them appropriately among other things. KML is the standard dialect for speaking the language of Google Maps and providing Google with a KML file on your site can help in your overall ranking.
Google’s own KML Documentation provides all of the detail you could ever want about KML files. One thing you may notice is that a KML file can look a little intimidating for anyone that is not a super-techy kind of person. KML files can be very simple of more complex based on what you are trying to show with them and while they can be built from scratch a simple KML file generator helps out greatly. For anyone that would like ot try this themselves you can use this KML file generator and then upload the result to the root directory of your site.
Using the tool above, or your own favorite text editor and the sample below, generate a KML file, name it location.kml and then upload it to your home directory. It is also a good idea to update your sitemap.xml file, you do have one of those don’t you?, with the location of your location.kml file. Depending on how you have implemented your XML sitemap you may need to add this manually or your sitemap plugin may provide you an ability to simply add an additional file as well.
A final piece of advice is to create a link to the KML file in the footer of your site so that Google sees the KML file get served up on every page.
Following is a sample KML file that we use on our site:
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom"> <Document> <name>Locations for BizVisibility.</name> <atom:link rel="related" href="http://bizvisibility.com" /> <Folder> <Placemark> <name><![CDATA[BizVisibility]]></name> <address><![CDATA[PO Box 152, Hebron, KY, 41048, United States]]></address> <description><![CDATA[BizVisibility is a Cincinnati area digital marketing company that specializes in search engine optimization SEO for local businesses.]]></description> <Point> <coordinates>-84.706659,39.098346,0</coordinates> </Point> </Placemark> </Folder> </Document> </kml>