okie., one more issue, i have noticed., the xml plugin i am using is
sitemaps-and-seo-wordpress-mu-style-1.0.4\simple-sitemaps
from wpmu dev., and google webmasters tool said that my wp is out of date, but when i checked the wp , i am using the latest version, so the problem is the sitemaps plugin.,
so you must install newer sitemap creating plugin like this one.,
Google XML Sitemaps with Multisite support
and here is new code for using defaults settings in this plugin.
updated robots.php
Quote:
<?php
header('Content-Type: text/plain');
$hostname = $_SERVER['HTTP_HOST'];
$hostname1 = str_replace(".", "-", "$hostname");
echo "Sitemap: http://";
echo $hostname;
echo "/sitemaps/";
echo $hostname1;
echo ".xml\n";
echo "Sitemap: http://";
echo $hostname;
echo "/sitemaps/";
echo $hostname1;
echo ".xml.gz\n\n";
echo "User-agent: IRLbot\n";
echo "Crawl-delay: 3600\n";
echo "\n";
echo "User-agent: *\n";
echo "Disallow: /next/\n";
echo "\n";
echo "# har har\n";
echo "User-agent: *\n";
echo "Disallow: /activate/\n";
echo "\n";
echo "User-agent: *\n";
echo "Disallow: /wp-login.php\n";
echo "\n";
echo "User-agent: *\n";
echo "Disallow: /wp-admin/\n";
echo "\n";
echo "User-agent: *\n";
echo "Disallow: /signup/\n";
echo "\n";
echo "User-agent: *\n";
echo "Disallow: /tag/\n";
echo "\n";
echo "# MT refugees\n";
echo "User-agent: *\n";
echo "Disallow: /cgi-bin/\n";
echo "\n";
echo "User-agent: *\n";
echo "Disallow:";
?>
|