You need a separate mobile sitemap only if your website URLs change when being viewed on mobile devices. The XML syntax in MobileSitemapMaker 1.0 follows the guidelines found on this Google Search Console help page. If your existing mobile sitemap's syntax isn't the same as that, Google will just ignore it.
With that said, this is not merely a mobile version of XMLSitemapMaker 2.2. You should use XMLSitemapMaker 2.2 when creating standard Google sitemaps for websites that are built with mobile responsive design. Website URLs aren't changed when a mobile responsive website is being viewed on mobile devices.
How to Install MobileSitemapMaker 1.0
- Extract the zip file to an easy to remember location on your computer.
- Upload the entire MobileSitemapMaker folder to your server's root directory via FTP.
- That's it, you're done!
How to Use MobileSitemapMaker 1.0
- Go to http://www.yoursite.com/MobileSitemapMaker/ using your preferred web browser.
- You need to upload a list of mobile URls (one URL per line) in a text file. ( See how to easily get all your website URLs and save them into a text file here). Click the browse button to select the text file from your computer.
- Then, click the Convert to Mobile Sitemap button. MobileSitemapMaker only takes a split second to create your mobile sitemap. However, the length of time for MobileSitemapMaker to finish creating your mobile sitemap will totally depend on your computer system and the filesize of your text file. I have experienced it taking up to about 5 seconds to finish on an old laptop.
- The process is completed when you see Step 2, Step 3, Step 4, and Step 5 has been added to the page.
- In Step 3, you should see a link to view your newly created mobile sitemap plus a link to an online sitemap validator.
- In Step 4, is a link to let you save the mobile sitemap to your computer.
- MobileSitemapMaker had already done a considerable amount of work for you in a matter of milliseconds. Now that you have a mobile sitemap, all you have to do as Step 5 suggests, is validate the mobile sitemap before submitting it to Google Search Console and Bing Webmaster Tools.
How to Save a List of All Your Website URLs Into a Text File
Xenu's Link Sleuth Method
Xenu's Link Sleuth is a tool meant for checking broken links on your website. It can crawl your entire site and find all its links. When it has completed its crawl, you can let it create a report. From that report, find "List of valid URLs you can submit to a search engine:", copy all links listed under it, and paste them onto a spreadsheet such as Microsoft EXCEL or LibreOffice Calc. You will most likely find URLs that you would want to exclude. Simply filter your list to get only URLs that begin with your website's mobile URLs, examples: http://www.example.com/mobile, http://mobile.example.com.
Related Video Tutorials
Knowing how to do these simple techniques can save you time when trying to get only URLs belonging to your website from a long list of mixed internal and external URLs from the Xenu's Link Sleuth generated report:
Finally, copy the filtered URL list from your spreadsheet and paste them directly onto notepad to make a text file out of it. Here is a sample URLs list .txt file created for our site: sample.txt
What do you get when you download MobileSitemapMaker 1.0?
This is the PHP file that is responsible for constructing the mobile sitemap for you. You don't have to edit this file to get MobileSitemapMaker 1.0 to work. The XML sitemap that MobileSitemapMaker 1.0 will produce will be saved in the
sitemaps folder (included in the zip file you downloaded). The source code you'll find in it is shown below:
This PHP file is responsible for storing data into the three (3) variables that mobile-sitemap-maker-1.0.class.php will need to construct your mobile sitemap. You don't have to edit this file for MobileSitemapMaker 1.0 to work. The source code inside it is as follow:
This is the main file of MobileSitemapMaker 1.0. It contains CSS which you can edit as you wish. It also contains the form responsible for uploading the text file containing a list of URLs to be included in the sitemap. This file will automatically save each uploaded text file into the
Here is the license that goes with each PHP file.
Remember, that being written in OOP PHP code, MobileSitemapMaker is 100% reusable as you don't have to edit any of the files to make it work. You may install this on a hosting server that can run programs/websites that are written in PHP.
Download MobileSitemapMaker right now.
Enjoy! Please share it as I've shared it with you. :-)