Sitemap Update and Creator Script
This script will automatically scan your directories and update your sitemap.xml with proper formatting. You can modify the script if you want to add other sitemap inclusions. It by default will include files named template and unfinished. You can add other exclusions on line 3.
PHP Script Setup:
- Enter your address name on line 2.
- Enter scan path beginning at your public root directory on line 3.
- On line 29, path to sitemap.xml, by default it will save in your public root directory.
File contents:
- sitemap-update.php
Download Here.
Script example output:
Check out my other scripts here.
License: Open Source | Developed by adamsthoughts.com