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?
-
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?
-
There isn't really a good way that I know of currently to verify Google has indexed it...
-
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?
-
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.
-
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.
-
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
-
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 -
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?
-
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
-
If google webmaster tools doesn't return an error on when you test the sitemap then it should be indexing it fine.
-
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?
-
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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Google Cache
So, when I gain a link I always check to see if the page that is linking is in the Google cache. I've noticed recently that more and more pages are actually not showing up in Google's cache, yet still appear in search results. I did read an article from someone whoo works at Google a few weeks back that there is sometimes an error with the cache and occasionally the cache will not display. This week, my own website isn't showing up in the cache yet I'm still ranking in SERP's. I'm not worried about it, mostly whitehat, but has there been any indication that Google are phasing out the ability to check cache's of websites?
Algorithm Updates | | ThorUK0 -
Best and easiest Google Depersonalization method
Hello, Moz hasn't written anything about depersonalization for years. This article has methods, but I don't know if they are valid anymore. What's an easy, effective way to depersonalize Google search these days? I would just log out of Google, but that shows different ranking results than Moz's rank tracker for one of our main keywords, so I don't know if that method is correct. Thanks
Algorithm Updates | | BobGW0 -
Google Index
Hi all, I just submit my url and linked pages along with xml map to index. How long does it take google to index my new pages?
Algorithm Updates | | businessowner0 -
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 | | WSIDW0 -
Google sets brand/domain name at the end of SERP titles
Hi all, I am experiencing that Google puts our domain name at the end of the titles in SERPs. So if ia have a title: "See our super cool website", Google would show "See our super cool website - Betxpert.com" in the SERPs Well. This is okay. Apart from the fact that i myself often put the brand name in the title AND the fact that Google mispells the site name. The brand is BetXpert with a upper case X...so when i get a SERP with "See our super cool website - BetXpert - Betxpert.com" I am annoyed 🙂 Any one out the know how to tell Google the EXACT brand name, such that they do not set a value the site owner does not want to have? -Rasmus
Algorithm Updates | | rasmusbang0 -
KML File vs. KMZ File
When should you use a KMZ file? What are the benefits to using a KMZ file as opposed to just a standalone KML file?
Algorithm Updates | | RezStream80 -
Why has my homepage been replaced in Google by my Facebook page?
Hi. I was wondering if others have had this happen to them. Lately, I've noticed that on a couple of my sites the homepage no longer appears in the Google SERP. Instead, a Facebook page I've created appears in the position the homepage used to get. My subpages still get listed in Google--just not the homepage. Obviously, I'd prefer that both the homepage and Facebook page appear. Any thoughts on what's going on? Thanks for your help!
Algorithm Updates | | TuxedoCat0