The protocol required this to ensure that whoever could modify the Sitemap file also had ownership rights of the URLs listed in the Sitemap. However, this setup was problematic for some sites, including those with multiple domains and subdomains who would have found it difficult or technically infeasible to write Sitemap files to multiple locations. Some sites also found it technically different to write Sitemap files to the root of the domain. … [Read more...] about You Can Now Store Your XML Sitemap Files Anywhere!
Spring xml configuration file
John said on Twitter it depends "on how they [the sitemap files] were discovered." He said (a) If submitted via anonymous ping, they're only valid there & lower levels and (b) If you submit them through your Search Console account, they can be valid for any verified site or part of a site. … [Read more...] about Google: Does It Matter Where Your XML Sitemap File Is Located?
John said "We'd stop fetching sitemap files if the URLs are invalid, but if you're returning content or redirecting (which is kinda recommended), we'll keep trying them. It shouldn't cause problems, since overall sitemap files are only a tiny-tiny part of all URLs fetched from a site." … [Read more...] about Google May Ignore Your XML Sitemap If The URLs Are Invalid
Yes, John – tell us more! Why put the most awesome URLs at the beginning of the file? (That can be difficult to with programmatic files generated for large sites, but also, you know that will lead to the mad dash trying to figure out how many Google considers the "start" part. 🙂 … [Read more...] about Google: the order of the URLs in your XML Sitemap does not matter
The template with a for loop to iterate of a context object called pages. It should be a Python tuple, where the first element is the URL, and the second one is the last modification timestamp.Our original pandas data frame has one index (the URL) and one column (the timestamp). We can call pandas itertuples() which will create a sequence that will be rendered nicely as an XML sitemap.This is at least 10 times simpler than building the sitemaps from scratch! … [Read more...] about Reorganizing XML Sitemaps with Python for Fun & Profit