See here: http://www.ysearchblog.com/archives/000437.html
This seems to indicate that all major search engines will now obey the "Sitemap:" tag in a robots.txt file. Is this something that XML Sitemap can manage?
Thanks
Adam
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | gsitemap.module-149134.patch | 10.56 KB | darren oh |
| #3 | robotstxt_hook_0.patch | 699 bytes | hass |
| #2 | hook_robotstxt_0.patch | 822 bytes | hass |
Comments
Comment #1
hass commentedThere are plans to add a hook_robotstxt for modules like xmlsitemap to add this line automatically... today you should add this by hand to your current robots.txt file.
Comment #2
hass commentedHere is a patch for this feature in reference to http://drupal.org/node/138434
Comment #3
hass commentedWrong patch... take *this* one :-(
Comment #4
hass commentedThis patch can go in. Robotstxt module have this hook_robotstxt implemented.
Comment #5
darren ohFixed in CVS commit 83645.
Comment #6
SubZero5 commentedSitemap and i18n makes result as site.com/en/sitemap.xml :(
Comment #7
darren ohTry this patch.
Comment #8
darren ohFixed in CVS commit 84193.
Comment #9
SubZero5 commentedSorry for the delay. I have been kind of busy. :(
can it be better if you just say:
and with the patch, the sitemap prints correctly with
/sitemap.xmlBUT thesitemap0.xmlstill does not have thei18n paths like/en/,/fr/,/it/,/de/,/tr/etc..Comment #10
darren ohUnfortunately, we cannot be sure that everyone has clear URLs enabled.
It will take a significant amount of work to enable XML Sitemap to include links in more than one language. Previously it used whatever language prefix was in use when the site map was generated. For consistency and compatibility with Google, it currently does not use language prefixes. Further development is being discussed in issue 182442.
Comment #11
(not verified) commented