Active
Project:
Domain XML sitemap
Version:
6.x-1.0-beta2
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2011 at 16:51 UTC
Updated:
6 Jan 2012 at 17:58 UTC
Hi,
I installed both XML Sitemap and Domain XML Sitemap for provide a xml sitemap on 2 websites.
The content of both xml sitemap is the same.
How do I configure this module for works fine?
Thanks
Comments
Comment #1
neilnz commentedYeah I have the same problem. Whichever domain I run the generate batch from seems to populate both domains' sitemaps with identical URLs.
Running XML Sitemap 6.x-2.0-beta2 1297291363
Domain XML Sitemap 6.x-1.0-beta2 1297438017
I'm trying to track it down.
Comment #2
neilnz commentedThe problem appears to be the hooks in domain_xmlsitemap only apply to entries in the xmlsitemap table of type "node". If you use some other method of adding pages, such as menus (which I use), it's inserting entries for node pages, but those aren't joined across to the domain_access table, so are included by default.
I'm looking at enhancing the join to include node URLs that are of other types.
Comment #3
jwilson3Same problem here.
@neilnz were you able to get anywhere on this?
Comment #4
jwilson3Let's narrow down the scope to the one use case that is actually listed here, and confirmed by two of us to be causing issues.
There is a similar issue for Domain Taxonomy support as well: #1067454: Domain Taxonomy Module Support
If other use cases appear, let's add them as separate issues so they can be tackled and tested one by one.
Comment #5
drone commentedSeems like there's no any progress on this, eh?
Comment #6
emfabric commentedIn my case, I have a distinct menu for each domain. If you add a custom module to your site, it's relatively easy to prevent a menu from being included in a given domain's sitemap.
The code from my site's module:
This is what we are using on http://www.fabriciuslaw.com and http://www.eastwakebankruptcy.com to clean up their sitemaps. For my purposes, it worked fine to hard-code the domain ids and menu names into the module. As far as I know, there isn't any module seeking or storing user domain preferences on a per-menu basis.