Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more - View Single Post - Great Sitemap Generator
View Single Post
Old 08-27-2016, 11:57 PM   #1 (permalink)
AEDELGOD
Regular User
 
Join Date: Aug 2016
Posts: 16
Default Great Sitemap Generator

For those of you who sometimes make sites that isn't pre-built with a sitemap generator, there is one I like to use as an alternative. Go to this website and download / copy code.

Code:
plop.at/en/xml-sitemap.html
Make changes as applicable in php file for your website. Don't forget to add a crontab!

Example: if your are in shell do "sudo crontab -e" and enter similar code into file
Code:
0 0 * * 0 cd /path/to/php/bin/; ./php /home/website/sitemap.php
This code will make it generate weekly.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by AEDELGOD; 08-28-2016 at 01:17 AM.
AEDELGOD is offline   Reply With Quote