double sitemap on robots.txt

Recommend this page to a friend!

      Sitemap Generator  >  All threads  >  double sitemap on robots.txt  >  (Un) Subscribe thread alerts  
Subject:double sitemap on robots.txt
Summary:bug
Messages:2
Author:fulgorek
Date:2010-07-14 18:21:29
Update:2011-12-17 21:47:52
 

  1. double sitemap on robots.txt   Reply   Report abuse  
Picture of fulgorek fulgorek - 2010-07-14 18:21:29
i've found a little bug:

in robots.txt writes
sitemap.xml.gz
sitemap.xml.gz.gz

the second one doesn't exist.

  2. Re: double sitemap on robots.txt   Reply   Report abuse  
Picture of Nariman Nariman - 2011-12-17 21:47:52 - In reply to message 1 from fulgorek
yes. it is a bug.

line 279 and 285, method updateRobots:

it should be smth like this:

$sampleRobotsFile = $sampleRobotsFile."\n\nSitemap: ".$this->baseURL.$this->sitemapFileName;


but in it is:
$sampleRobotsFile = $sampleRobotsFile."\n\nSitemap: ".$this->sitemapFullURL;

 

For more information send a message to info at phpclasses dot org.