xmlsitemap_robotstxt()
contributions/modules/xmlsitemap/xmlsitemap.module, line 234
Implementation of hook_robotstxt().
| Name | Description |
|---|---|
| XML Sitemap | Notify search engines of site updates. |
function xmlsitemap_robotstxt() {
return array('Sitemap: '. xmlsitemap_url('sitemap.xml', drupal_lookup_path('alias', 'sitemap.xml') ? drupal_lookup_path('alias', 'sitemap.xml') : NULL, NULL, NULL, TRUE));
}