Submitting a Google Sitemap

Register an Account
 
 
Article Tools Display Modes
  #1 (permalink)  
Old 09-03-2007, 06:06 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
Reserved for future use.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!

Last edited by Yankidank; 09-03-2007 at 07:14 PM.
Reply With Quote
  #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 06:06 PM
Last edited by Yankidank, 09-03-2007 at 07:14 PM
9 Comments , 9741 Views
 

Article Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sitemap error in Google Dionysus Questions and Comments 2 03-28-2009 03:00 AM
After submitting rss.php to the google sitemap submitter Wands Questions and Comments 1 11-05-2007 12:37 AM
revision 945, rss.php in google sitemap problem trh792 Questions and Comments 3 06-23-2007 01:40 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development