Hi,

If you mark a node (or a content type) as Excluded from the sitemap, it gets added to the multilingual sitemaps (if the node is translated with Entity Translation).

Comments

jlafu’s picture

I'd like to contribute and fix this, if someone could give me some advice/guidance (I'm a novice and have'nt been able to figure out the problem in the code by myself).

Apparently, in function xmlsitemap_node_translation_create_link(stdClass $node) node settings are being set correctly to the node translation (I think), so maybe I'm not looking into the right place...

Thanks a lot!

pgraell’s picture

Here is a patch if you use entity translation.
You have to rebuild links, and currently works for me.

jlafu’s picture

Assigned: Unassigned » jlafu
Status: Active » Needs review

Hi Pau @pgraell,

I manually applied the patch to my project and it worked perfectly. If it is OK with you, I'm assigning the task to myself in order to proceed with the validation process. If you want to do that yourself, feel free to pick it up.

Thanks a lot!

pgraell’s picture

Not at all! Perfect, i agree, go ahead.

  • nchar committed 48fd557 on 7.x-1.x
    Issue #2425133 by jlafu, pgraell, nchar: Makes use of node settings for...
nchar’s picture

Status: Needs review » Closed (fixed)

The issue is now solved and committed to latest release.