The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Search Engine Trends
    4. Does a KML file have to be indexed by Google?

    Does a KML file have to be indexed by Google?

    Search Engine Trends
    12 5 5.6k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic 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
      • 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
        • 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
          • 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
            • 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
              • 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,

                  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
                  • 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 @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 @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
                        • 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 @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
                            • 1 / 1
                            • First post
                              Last post
                            • Google Search Console Not Indexing Pages
                              0
                              1
                              73

                            • Non-indexed or indexed top hierarchy pages get high PageRank at Google?
                              effectdigital
                              effectdigital
                              0
                              2
                              35

                            • Why google stop index my home page
                              Andy.Drinkwater
                              Andy.Drinkwater
                              0
                              2
                              67

                            • Google Index
                              Martijn_Scheijbeler
                              Martijn_Scheijbeler
                              0
                              2
                              60

                            • Google doesnt index my Google+ Profile
                              Angelos_Savvaidis
                              Angelos_Savvaidis
                              0
                              4
                              328

                            • KML File vs. KMZ File
                              kadesmith
                              kadesmith
                              0
                              4
                              946

                            • Stop google indexing CDN pages
                              loopyal
                              loopyal
                              0
                              3
                              2.7k

                            • When Google crawls and indexes a new page does it show up immediately in Google search - "site;"?
                              richpalpine
                              richpalpine
                              0
                              3
                              405

                            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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                            • Accessibility
                            • Terms of Use
                            • Privacy