0

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.

1
  • did my answer help you? Commented Mar 30, 2015 at 14:13

2 Answers 2

0

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

2
  • Can I insert only one menu in my xmlsitemap or I need to insert all menus ?
    – ZioBudda
    Commented Mar 25, 2015 at 15:54
  • you can specify which menu you want to insert in xmlsitemap Commented Mar 25, 2015 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.