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
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2921852.patch | 1.97 KB | aleevas |
Comments
Comment #2
deepikakaran commentedI do face the same problem. Please help.
Comment #3
farhanmae commentedCan anyone help how to use this?
Comment #4
flyke commentedSo, 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'
Comment #5
aleevasI've updated README file with more descriptive way to use this module.
I hope it will be useful for all.
Enjoy!
Comment #6
hamrant commentedNew README looks ok for me, thanks @aleevas!
Comment #8
hamrant commentedIf someone have any questions - feel free to reopen this issue.