Closed (fixed)
Project:
XML sitemap
Version:
5.x-1.4
Component:
xmlsitemap
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2008 at 18:21 UTC
Updated:
8 May 2008 at 19:12 UTC
Hello,
I want the sitemap to recognize pathauto or alias url's.
when I try to add a hook, custom_url_rewrite or the hook_xmlsitemap_links, to the settings.php I receive this error:
warning: Missing argument 4 for custom_url_rewrite() in /home/ratrodde/public_html/rat/rattest/sites/default/settings.php on line 166.
Could you tell me if I need to add something else to make the code valid? I am copy pasting the code as I see it to the bottom of the settings.php file.
Thank You,
Lorraine
Comments
Comment #1
darren ohXML Sitemap does this automatically. By the way, go to api.drupal.org to see examples of how to create modules. Hooks don't go in settings.php.