Hello,
For my project I use Domain Access, also I manage several sites with the same installation.
I see that we have an module (Domain Simple Sitemap) to link Simple Sitemap with Domain Access. But, I need to customize each sitemap, because I have specific contents/terms by domain.
So, I need to find a solution to alter each sitemap.
I think to use a sitemapindex (manually built) for each domain, and inside this sitemap parent call differents sitemap variants :
domain 1 articles sitemap
domain 2 articles sitemap
domain 1 pages sitemap
domain 2 pages sitemap
domain 3 pages sitemap
domain 1 specific terms sitemap...
Can I create different sitemap variants for this use?
Can I alter the links with yours hooks for each domain, by calling the domain ID?
Can I call the 'domain ID' variable to target the datas in your hook hook_simple_sitemap_links_alter?
Thanks for yours explanations / helps.
Comments
Comment #2
kumkum29 commentedComment #3
aspilicious commentedhttps://www.drupal.org/project/simple_sitemap/issues/3014649
Look at this issue, it contains a starting point.
Comment #4
gbytePlease take a look at https://www.drupal.org/project/simple_sitemap/issues/3109090 and https://www.drupal.org/project/simple_sitemap/issues/3033283.
Closing as this is quite old, please feel free to reopen if necessary.