View Single Post
Old 10-11-2011, 08:24 AM  
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
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:";
?>
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote