Hi all,

Quick question how exactly to use this module - meaning how to generate Domain specific .xml sitemaps?

As readme.md only says this

### Steps to generate map:

- Click save on form
- Set generator
- Set generate form
- Start generation
  - Set batch info
  - Foreach domain generate:
    - Add "generateCustomUrls" operation
    - Add "generateBundleUrls" operations for each entity bundle

Which is not the best... I would really like to use this and test it... Just now sure how to begin with. My site has 5 active domains...

Cheers

CommentFileSizeAuthor
#5 2921852.patch1.97 KBaleevas

Comments

puogintas created an issue. See original summary.

deepikakaran’s picture

I do face the same problem. Please help.

farhanmae’s picture

Can anyone help how to use this?

flyke’s picture

So, let's say you have 2 domains (set up via the domain module, so NOT in case of drupal multisite):
siteone.com and sitetwo.com

Make sure you have some content (nodes) with 'Domain Settings' -> 'Domain Access' set to siteone.com and some other content set to sitetwo.com (accessible via node edit).
It does not matter that you set this all up as admin on your siteone.com.

Now with this module enabled, you generate the sitemap at admin/config/search/simplesitemap
This confused me too, I expected to visually see a sitemap per domain here too, but that is not the case.
After the sitemap is done generating, you can manually open and inspect:
- siteone.com/sitemap.xml
- sitetwo.com/sitemap.xml
and you should see that they are different from each other based on which nodes are set to which domain.

Also: my observation is that if you enabled the domain module and just went to admin/content, checked all items and selected action 'Assign content to all affiliates' then the items will not appear in the sitemap, they must be specifically enabled per domain, like 'Add selected content to the siteone.com domain' and 'Add selected content to the sitetwo.com domain'

aleevas’s picture

Status: Active » Needs review
StatusFileSize
new1.97 KB

I've updated README file with more descriptive way to use this module.
I hope it will be useful for all.
Enjoy!

hamrant’s picture

Status: Needs review » Reviewed & tested by the community

New README looks ok for me, thanks @aleevas!

  • hamrant committed c7d6b97 on 8.x-2.x authored by aleevas
    Issue #2921852 by aleevas, flyke, hamrant: How exactly to use this?
    
hamrant’s picture

Status: Reviewed & tested by the community » Fixed

If someone have any questions - feel free to reopen this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.