I have a site where some pages are "virtual".

The path is :


where * internal_node/% is defined in a hook_menu() * XYZ is a number

my "internal_node" callback call an external service using XYZ like argument, get soma data and display this data to the user. All works without problem. And all is legal.

Now I want to add all "interal_node" links to my google's sitemap.

I have installed xmlsitemap, but this module create a google sitemap for only all internal drupal node and my "internal_node" are not a drupal node.

So, how can I add link to xmlsitemap ?



you could put those links in a menu and have that menu included to your xmlsitemap.

| improve this answer | |
  • Can I insert only one menu in my xmlsitemap or I need to insert all menus ? – ZioBudda Mar 25 '15 at 15:54
  • you can specify which menu you want to insert in xmlsitemap – Andre Baumeier Mar 25 '15 at 16:35

There are a few ways you can add links to the xmlsitemap.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.