0

This question already has an answer here:

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

The path is :

internal_node/XYZ

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 ?

Thanks.

marked as duplicate by Pierre.Vriens, Shawn Conn, Krishna Mohan, Adrian Cid Almaguer, Bala May 10 '16 at 14:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

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

  • 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
0

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

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