Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Let your business shine with Listings AI
      Moz Local

      Let your business shine with Listings AI

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. Research & Trends
    3. Algorithm Updates
    4. Does a KML file have to be indexed by Google?

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Does a KML file have to be indexed by Google?

    Algorithm Updates
    5
    12
    7714
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • projectassistant
      projectassistant last edited by

      I'm currently using the Yoast Local SEO plugin for WordPress to generate my KML file which is linked to from the GeoSitemap.  Check it out http://www.holycitycatering.com/sitemap_index.xml.

      A competitor of mine just told me that this isn't correct and that the link to the KML should be a downloadable file that's indexed in Google.  This is the opposite of what Yoast is saying...  "He's wrong. 🙂  And the KML isn't a file, it's being rendered. You wouldn't want it to be indexed anyway, you just want Google to find the information in there.

      What is the best way to create a KML?  Should it be indexed?

      1 Reply Last reply Reply Quote 1
      • Yoast
        Yoast @projectassistant last edited by

        There isn't really a good way that I know of currently to verify Google has indexed it...

        1 Reply Last reply Reply Quote 1
        • projectassistant
          projectassistant @Yoast last edited by

          Thanks for getting back!  I wanted to show you a screenshot of my GWT.  The geo_sitemap.xml is crawled with no errors but the locations.kml that it's linking to is never seen.  That being said, how it the KML being seen by Google?  Is there some way that I can verify?

          nnEvZy7

          Yoast 1 Reply Last reply Reply Quote 0
          • Yoast
            Yoast @MikeTek last edited by

            Yeah we might as well ditch that 🙂 but yeah it's crawled as a normal XML file as it doesn't give any errors at all in GWT.

            projectassistant 1 Reply Last reply Reply Quote 2
            • MikeTek
              MikeTek @Yoast last edited by

              Thanks for chiming in on this, Joost.

              I wasn't 100% certain that geo_sitemap.xml was a problem, but the xmlns reference to http://www.google.com/geo/schemas/sitemap/1.0 in line 2 I thought might be throwing Google off - I take it they'll just ignore this and crawl the doc as any other XML file?

              Thanks again.

              Yoast 1 Reply Last reply Reply Quote 1
              • Yoast
                Yoast last edited by

                I'm sorry to say Mike above is wrong. He's been deceived by the file name and didn't actually look to see what it did I guess. Our geo_sitemap.xml file is a normal XML sitemap, linking to the KML file, it's not actually a geo sitemap, it's just named that way for historic reasons.

                See the first question on this thread and Susan Moskwa's answer: https://plus.google.com/+SusanMoskwa/posts/CmZejMkLN4r

                MikeTek 1 Reply Last reply Reply Quote 3
                • MikeTek
                  MikeTek last edited by

                  Hi Anthony,

                  Sorry for the delay on this. In migrating over to the new Moz.com platform, Q&A messaging for admins has been a bit spotty.

                  You are right - geositemap.xml is using the "geo sitemap" protocol that Google no longer supports. This may cause Google not to follow the reference to locations.kml contained therein.

                  Unfortunately I don't have an alternative recommendation to Yoast's SEO plugin for this. Manually creating your XML may be your best option, or using software like GSiteCrawler to speed up the process, then manually add your KML file.

                  If this output from Yoast's plugin can't be manually configured, and the KML file is important enough to your goals that you consider it a top priority to have it crawled, it seems a clear choice to me to move away from this plugin and find a better solution. Unfortunately, I haven't dealt with KML files for WordPress in the past. I'd probably recommend site crawling software to speed up the process, then switching to manual to add this in.

                  Best,
                  Mike

                  1 Reply Last reply Reply Quote 0
                  • projectassistant
                    projectassistant @MikeTek last edited by

                    Hi Mike,

                    I think I'm starting to understand where you are going with this.  It sounds like I need to index the KML using a link from the footer of the site instead of from the geositemap that Yoast creates since Google won't crawl it or past it.

                    I read on Google Sitemap page:

                    "We recommmend that you tell Google about geographically-based URLs by including them in a regular Web Sitemap."

                    If the KML is referrenced in the sitemap_index.xml, then it's being seen by Google but if the geositemap.xml is between the sitemap_index.xml and the locations.kml, then it is hidden from Google.

                    All of this is being controlled by the an SEO plugin for WordPress from Yoast.  I am wondering if I need to create the KML manually and upload to the sitemap or if should I let Yoast continue to render it.  Mike, do you use a specific tool/plugin for KML creation for Wordpress websites?

                    1 Reply Last reply Reply Quote 0
                    • MikeTek
                      MikeTek last edited by

                      Hi Anthony,

                      "Indexed in Google" is irrelevant here. Sitemap protocol and the searchable web index have little to do with each other directly (sitemap files are not searchable in the web index).

                      If you're following the instructions on this page, you're good. Geo sitemap tags are no longer supported by Google.

                      Note: When I click on the link to http://www.holycitycatering.com/geo_sitemap.xml your server returns a "page not found" error, so I'm not sure where your geo URLs are located...

                      -Mike

                      projectassistant 1 Reply Last reply Reply Quote 1
                      • WesleySmits
                        WesleySmits last edited by

                        If google webmaster tools doesn't return an error on when you test the sitemap then it should be indexing it fine.

                        1 Reply Last reply Reply Quote 0
                        • projectassistant
                          projectassistant @Martijn_Scheijbeler last edited by

                          How do you know know if Google can see the KML?  It's not been listed in any of the search results for our sites using this plugin and this competitor is telling my client I'm wrong because you can't see the file in Google Webmasters.

                          I guess the main question is if Google isn't indexing the KML and Webmaster Tools doesn't index it, how do we know it sees the file?

                          1 Reply Last reply Reply Quote 0
                          • Martijn_Scheijbeler
                            Martijn_Scheijbeler last edited by

                            There's one rule in SEO, Yoast is always right 😉 (not only because he's Dutch). But in this case he's right. By mentioning the KML file to Google it knows where it could be found. So it will trigger a visit to the file which get generated on the fly + by doing this it prevents you from being indexed.

                            projectassistant 1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            Got a burning SEO question?

                            Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                            Start my free trial


                            Browse Questions

                            Explore more categories

                            • Moz Tools

                              Chat with the community about the Moz tools.

                            • SEO Tactics

                              Discuss the SEO process with fellow marketers

                            • Community

                              Discuss industry events, jobs, and news!

                            • Digital Marketing

                              Chat about tactics outside of SEO

                            • Research & Trends

                              Dive into research and trends in the search industry.

                            • Support

                              Connect on product support and feature requests.

                            • See all categories

                            Related Questions

                            • Chris_www

                              Site appearing and disappearing from google serps.

                              Hi, My website  is normally on page 2-3 on google consistently. Over the past month it has been appearing and then completely disappearing from the serps. One day it will be on page 2, then the next day completely missing from the serps. When i check the index it seems to be indexed correctly when doing site:mysite.com. I don't understand why this keeps happening, any experience with this issue? It doesn't seem to be a google dance as far as I can tell. When my other sites dance they typically just go up or down a few ranks for a couple weeks until they stabilize. Not completely fall off the search engine.

                              Algorithm Updates | | Chris_www
                              0
                            • isaac663

                              Using Google to find a discontinued product.

                              Hi Guys. I mostly use this forum for business questions, but now it's a personal one! I'm trying to find a supplier that might still have discontinued product.  It's the Behritone C5A speaker monitor. All my searches bring up a plethora of pages that appear to sell the product... but they have no stock. (Wouldn't removing these pages make for a better internet?)  No 2nd hand ones on eBay 😞 Do you have any suggestion about how I can get more relevant results... i.e find supplier that might still have stock?  Any tips or trick I may be able to use to help me with this? Many thanks in advance to an awesome community 🙂 Isaac.

                              Algorithm Updates | | isaac663
                              1
                            • Parse.ly

                              Does Google use dateModified or date Published in its SERPs?

                              I was curious as to the prioritization of dateCreated / datePublished and dateModified in our microdata and how it affects google search results. I have read some entries online that say Google prioritizes dateModified in SERPs, but others that claim they prioritize datePublished or dateCreated. Do you know (or could you point me to some resources) as to whether Google uses dateModified or date Published in its SERPs? Thanks!

                              Algorithm Updates | | Parse.ly
                              0
                            • WSIDW

                              My Website No Longer Appears in Mobile Google Search but Does in Desktop...Why Is This?

                              For a long time my website has appeared in both desktop and mobile search in Google. Yet recently it has stopped appearing in mobile yet still on desktop. Any ideas why this is happening and how to rectify it please? Many Thanks.

                              Algorithm Updates | | WSIDW
                              0
                            • SorinaDascalu

                              Is it possible that Google may have erroneous indexing dates?

                              I am consulting someone for a problem related to copied content. Both sites in question are WordPress (self hosted) sites. The "good" site publishes a post. The "bad" site copies the post (without even removing all internal links to the "good" site) a few days after. On both websites it is obvious the publishing date of the posts, and it is clear that the "bad" site publishes the posts days later. The content thief doesn't even bother to fake the publishing date. The owner of the "good" site wants to have all the proofs needed before acting against the content thief. So I suggested him to also check in Google the dates the various pages were indexed using Search Tools -> Custom Range in order to have the indexing date displayed next to the search results. For all of the copied pages the indexing dates also prove the "bad" site published the content days after the "good" site, but there are 2 exceptions for the very 2 first posts copied. First post:
                              On the "good" website it was published on 30 January 2013
                              On the "bad" website it was published on 26 February 2013
                              In Google search both show up indexed on 30 January 2013! Second post:
                              On the "good" website it was published on 20 March 2013
                              On the "bad" website it was published on 10 May 2013
                              In Google search both show up indexed on 20 March 2013! Is it possible to be an error in the date shown in Google search results? I also asked for help on Google Webmaster forums but there the discussion shifted to "who copied the content" and "file a DMCA complain". So I want to be sure my question is better understood here.
                              It is not about who published the content first or how to take down the copied content, I am just asking if anybody else noticed this strange thing with Google indexing dates. How is it possible for Google search results to display an indexing date previous to the date the article copy was published and exactly the same date that the original article was published and indexed?

                              Algorithm Updates | | SorinaDascalu
                              0
                            • mmac

                              Google is forcing a 301 by truncating our URLs

                              Just recently we noticed that google has indexed truncated urls for many of our pages that get 301'd to the correct page. For example, we have:
                              http://www.eventective.com/USA/Massachusetts/Bedford/107/Doubletree-Hotel-Boston-Bedford-Glen.html as the url linked everywhere and that's the only version of that page that we use. Google somehow figured out that it would still go to the right place via 301 if they removed the html filename from the end, so they indexed just: http://www.eventective.com/USA/Massachusetts/Bedford/107/ The 301 is not new. It used to 404, but (probably 5 years ago) we saw a few links come in with the html file missing on similar urls so we decided to 301 them instead thinking it would be helpful.  We've preferred the longer version because it has the name in it and users that pay attention to the url can feel more confident they are going to the right place. We've always used the full (longer) url and google used to index them all that way, but just recently we noticed about 1/2 of our urls have been converted to the shorter version in the SERPs.  These shortened urls take the user to the right page via 301, so it isn't a case of the user landing in the wrong place, but over 100,000 301s may not be so good. You can look at: site:www.eventective.com/usa/massachusetts/bedford/ and you'll noticed all of the urls to businesses at the top of the listings go to the truncated version, but toward the bottom they have the full url. Can you explain to me why google would index a page that is 301'd to the right page and has been for years? I have a lot of thoughts on why they would do this and even more ideas on how we could build our urls better, but I'd really like to hear from some people that aren't quite as close to it as I am. One small detail that shouldn't affect this, but I'll mention it anyway, is that we have a mobile site with the same url pattern. http://m.eventective.com/USA/Massachusetts/Bedford/107/Doubletree-Hotel-Boston-Bedford-Glen.html We did not have the proper 301 in place on the m. site until the end of last week.  I'm pretty sure it will be asked, so I'll also mention we have the rel=alternate/canonical set up between the www and m sites. I'm also interested in any thoughts on how this may affect rankings since we seem to have been hit by something toward the end of last week.  Don't hesitate to mention anything else you see that may have triggered whatever may have hit us. Thank you,
                              Michael

                              Algorithm Updates | | mmac
                              0
                            • loopyal

                              Stop google indexing CDN pages

                              Just when I thought I'd seen it all, google hits me with another nasty surprise! I have a CDN to deliver images, js and css  to visitors around the world. I have no links to static HTML pages on the site, as far as I can tell, but someone else may have - perhaps a scraper site? Google has decided the static pages they were able to access through the CDN have more value than my real pages, and they seem to be slowly replacing my pages in the index with the static pages. Anyone got an idea on how to stop that? Obviously, I have no access to the static area, because it is in the CDN, so there is no way I know of that I can have a robots file there. It could be that I have to trash the CDN and change it to only allow the image directory, and maybe set up a separate CDN subdomain for content that only contains the JS and CSS? Have you seen this problem and beat it? (Of course the next thing is Roger might look at google results and start crawling them too, LOL) P.S. The reason I am not asking this question in the google forums is that others have asked this question many times and nobody at google has bothered to answer, over the past 5 months, and nobody who did try, gave an answer that was remotely useful. So I'm not really hopeful of anyone here having a solution either, but I expect this is my best bet because you guys are always willing to try.

                              Algorithm Updates | | loopyal
                              0
                            • syount

                              How do I get the expanded results in a Google search?

                              I notice for certain site (ex: mint.com) that when I search, the top result has a very detailed view with options to click to different subsections of the site. However for my site, even though we're consistently the top result for our branded terms, the result is still only a single line item. How do I adjust this?

                              Algorithm Updates | | syount
                              1

                            Get started with Moz Pro!

                            Unlock the power of advanced SEO tools and data-driven insights.

                            Start my free trial
                            Products
                            • Moz Pro
                            • Moz Local
                            • Moz API
                            • Moz Data
                            • STAT
                            • Product Updates
                            Moz Solutions
                            • SMB Solutions
                            • Agency Solutions
                            • Enterprise Solutions
                            • Digital Marketers
                            Free SEO Tools
                            • Domain Authority Checker
                            • Link Explorer
                            • Keyword Explorer
                            • Competitive Research
                            • Brand Authority Checker
                            • Local Citation Checker
                            • MozBar Extension
                            • MozCast
                            Resources
                            • Blog
                            • SEO Learning Center
                            • Help Hub
                            • Beginner's Guide to SEO
                            • How-to Guides
                            • Moz Academy
                            • API Docs
                            About Moz
                            • About
                            • Team
                            • Careers
                            • Contact
                            Why Moz
                            • Case Studies
                            • Testimonials
                            Get Involved
                            • Become an Affiliate
                            • MozCon
                            • Webinars
                            • Practical Marketer Series
                            • MozPod
                            Connect with us

                            Contact the Help team

                            Join our newsletter
                            Moz logo
                            © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                            • Accessibility
                            • Terms of Use
                            • Privacy

                            Looks like your connection to Moz was lost, please wait while we try to reconnect.