- ๐บ๐ธUnited States caspervoogt
I tested this and it worked for me. It solved the issue, and I saw no regressions.
- last update
about 1 year ago 32 pass - ๐ซ๐ฎFinland mmyllynen
Patch from #2 has been working nicely but looks like it needed re-rolling so here goes.
- Status changed to Closed: won't fix
about 1 year ago 11:35am 3 November 2023 - ๐ฉ๐ชGermany gbyte Berlin
Or you could just leave the '/' in custom links right as it is defined by default. The node path will then be automatically excluded as duplicate (also the default setting).
Thanks for the patch! I feel however like this is too much of a change (in terms of compatibility with extending modules) for a niche use case that will not happen with default settings, hence marking as "won't fix".
- ๐ง๐ชBelgium tim-diels Belgium ๐ง๐ช
@gbyte Just installed a clean Drupal 10 site and configured the defaults but got both the root as / and the node with its alias /homepage.
So I'm not really following why this is closed as more ppl have reported this.Is there a test that we can run to make sure this won't happen?
- First commit to issue fork.
- ๐บ๐ธUnited States caspervoogt
This is still an issue, for me at least, on at least four sites I manage. I attached a screenshot of the issue. That shows how the front page is the first link in the XML sitemap, and uses a correct link, but the sitemap also includes a node/[nid] link to the home page, and it shouldn't.
d.stoyanov โ changed the visibility of the branch 3264573-update-v4.2.1 to hidden.
- Assigned to gbyte
- Status changed to Active
2 months ago 11:31am 5 September 2024 - ๐ฉ๐ชGermany gbyte Berlin
Core issue ๐ url() should return / when asked for the URL of the frontpage Needs work which should fix this problem has not been fixed yet - I hear you guys, I'll take another look at working around this in this module soon.