Skip to content

Comments

C00k1ez/sitemap tree for homepage fix#130

Merged
freddyheppell merged 3 commits intoGateNLP:mainfrom
c00k1ez:c00k1ez/sitemap_tree_for_homepage_fix
Jan 22, 2026
Merged

C00k1ez/sitemap tree for homepage fix#130
freddyheppell merged 3 commits intoGateNLP:mainfrom
c00k1ez:c00k1ez/sitemap_tree_for_homepage_fix

Conversation

@c00k1ez
Copy link
Contributor

@c00k1ez c00k1ez commented Jan 21, 2026

Add optional normalize_homepage_url flag to sitemap_tree_for_homepage() to prevent automatic stripping of subpaths to the domain root.
This fixes sitemap discovery for sites deployed under a subpath, while preserving the default behavior for root-hosted sites.

Issue #129

Copy link
Member

@freddyheppell freddyheppell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@freddyheppell freddyheppell merged commit f636501 into GateNLP:main Jan 22, 2026
8 checks passed
@c00k1ez c00k1ez deleted the c00k1ez/sitemap_tree_for_homepage_fix branch January 22, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants