Content MarketingSearch Marketing

Add Your Site Location to your Sitemap with a KML File

You may not know this, but Google will actually index your site’s geographic location along with your other pages. This can be done best by supplying a KML file with your coordinates in an XML format – a format that’s easy to read by programming interfaces.

Don’t let this intimidate you! It’s quite easy to build a KML file and add it to your site. In fact, I have a website that will build your KML file so you can download it, Address Fix. I added the features for downloading today!

Build a KML File the easy way:

Enter your address in Address Fix and submit. If the location on the map isn’t accurate, you can drag your marker to the exact location (pretty cool, huh?). Now you’ll see a “Download” link in the title of the KML section. When you click this, you can download the file to upload to your site later.

Download a KML File from Address Fix

I would also edit the file (just use any text editor) and add your blog’s name between the description tags. Example:

The name of my site>/description>

Add the KML to your Sitemap:

If you’re running WordPress, you have to be running the XML Sitemap Generator Plugin by Arne Brachhold – you won’t find a better or more essential plugin anywhere! One of the many great features of this plugin is that you can add a KML file to it. Just enter the full URL of the sitemap in the Additional Pages section:
Add KML to Sitemap

If you don’t have WordPress, you’ll find instructions at Google on how to add your KML reference to your sitemap.

That’s it! Build the KML file, upload the file to your site, and add it to your Sitemap.

Douglas Karr

Douglas Karr is the founder of the Martech Zone and a recognized expert on digital transformation. Douglas has helped start several successful MarTech startups, has assisted in the due diligence of over $5 bil in Martech acquisitions and investments, and continues to launch his own platforms and services. He's a co-founder of Highbridge, a digital transformation consulting firm. Douglas is also a published author of a Dummie's guide and a business leadership book.

Related Articles


  1. OK, so let’s pretend I have a site made for Spinal Decompression and my address is in Chula Vista. It’s gonna be really hard for me to rank for San Diego because my address shows that I’m not there. If I altered my KML file with and move it to San Diego, then hypothetically speaking I should have less trouble ranking for “spinal decompression san diego?

    1. Hi Francisco,

      Hypothetically, yes. I’ve not read into how much geography has begun to weigh in on results yet, but Google continues to tune their algorithms to find results that people are looking for independent of what everyone else finds popular. Testing is always the way to find out!


  2. Hey gang thanks for this sweet info on KML. I was just thinking about it today for a client and needed both the links and the general information you included here. I don’t know where it will lead in my suggestions to the client, but I think you definitely helped me get started.

    Cheers (and Thanks!)

What do you think?

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Adblock Detected

Martech Zone is able to provide you this content at no cost because we monetize our site through ad revenue, affiliate links, and sponsorships. We would appreciate if you would remove your ad blocker as you view our site.