Googlebot the well-known crawler. A while ago, a new beta program of Google started. Google Sitemaps. There, Webmasters can upload sitemaps of their sites. Thus, pages not even linked properly can be made accessible to Googlebot easier.
Uploading happens with a well-defined XML format, which is specified on the Google Sitemaps homepage. I made a little php program to generate such sitemaps automatically out of the installation of a phpWebSite. You can even specify multiple phpWebSites on the same server and let the program generate a site map for each.
Running the Script | |
---|---|
To run the script, enter the directory sitemap. Now, call the script with php -f index.php yourcaption.com "yourcaption.com" is one of the captions you've defined during the customization of all_sites.php. The result should be an XML output, similar to the one defined on Google Sitemaps. If you get an error instead, double-check your all_sites.php file. |
Automating the run | |
---|---|
To make the script run automatically, you need some kind of reoccuring call. In the case of a Linux-installation this would be the crontab. I've written a little script, you can find it in Automating sitemap generation |
Comments - Make a comment |
The comments are owned by the poster. We are not responsible for its content.
|
AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki
Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread
Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread
Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread