How to import a Google Sitemap into a MySQL table


Posted by Andrew McCombe on Wed May 30, 2018

Here’s a quick snippet showing how to import a Google Sitemap into MySQL. This is useful if you need to do anything with the urls such as scrape the pages or check for 301/302/404 results.