View Single Post
  #2  

Submitting a Google Sitemap

Thanks to qxygene for these instructions.
  1. Make a copy of the included "rss2.php" file in the main directory of the site, and call it sitemap.php.
  2. Change line
    Code:
    16 else $rows = 40;
    to
    Code:
     else $rows = 500;
  3. Now visit Google Webmaster Tools. Create a site, and add a sitemap with the address http://www.yoursiteaddress.com/sitemap.php?status=all
This is a better solution than manually generating a sitemap and uploading it, or using the included RSS feed. It will automatically update when you post a new link.
A better solution is to use the sitemap module for pligg that will generate a full sitemap index as in sitemaps.org xml format and can also ping google, yahoo and ask.com when a new story is posted.


Contributors: Yankidank
Created by Yankidank, 09-03-2007 at 04:06 PM
Last edited by Yankidank, 09-03-2007 at 05:14 PM
4 Comments , 2903 Views