Quote:
Originally Posted by iojam
djbaxter,
djbaxter,
Quote:
Actually, that's no longer true if you use the new sitemaps declaration in the robots.txt file
|
Mm.. what exactly is not true from what I wrote above?
You can specify sitemap in robots.txt, you can submit it to Google webmaster account (to be able to track it) or just send a ping, but sitemap still should be located in the topmost folder. That's why .htaccess entry is required in case if files are stored in a subfolder.
|
^^^ THAT is what's not true. You can now locate the sitemap file wherever you wish as long as you specifiy the alternate location in the robots.txt file - the robots.txt file must reside in the root folder; the sitemap can be anywhere you like. If you do that, you don't need the mod_rewrite addition to your .htaccess file.
See
http://www.sitemaps.org/protocol.php#submit_robots