Skip to content

CLDR-18575 Drop /index from site paths#5370

Open
aryanraj45 wants to merge 1 commit intounicode-org:mainfrom
aryanraj45:CLDR-18575-drop-index-redirect
Open

CLDR-18575 Drop /index from site paths#5370
aryanraj45 wants to merge 1 commit intounicode-org:mainfrom
aryanraj45:CLDR-18575-drop-index-redirect

Conversation

@aryanraj45
Copy link

@aryanraj45 aryanraj45 commented Feb 16, 2026

CLDR-18575 Drop /index from site paths

This PR completes the ticket

  1. Ticket: https://unicode-org.atlassian.net/browse/CLDR-18575
  2. This PR moves files from /index/ to the site root and adds redirects so old URLs continue to work.
  3. The _redirects file was updated with a catch-all rule: /index/* -> /:splat
  4. The sitemap.tsv was updated to reflect the new file paths.
  5. No Java or data files were changed.
  6. The site was tested locally using Jekyll (jekyll build) to verify all file moves are correct.
  7. Markdown link fixes will be in a separate PR to reduce conflict risk.

ALLOW_MANY_COMMITS=true

@aryanraj45
Copy link
Author

hii @srl295 can u please take a look on this whenever your free and let me know if there any changes required thanks!

@srl295
Copy link
Member

srl295 commented Feb 16, 2026

@AEApple seems reasonable. Probably mostly a question of timing.

@srl295
Copy link
Member

srl295 commented Feb 16, 2026

▶ Run sh tools/scripts/web/build-site.sh

This is failing.

@aryanraj45
Copy link
Author

Steven, I found the cause of the build failure. The build-site.sh script was failing because sitemap.tsv still contained references to the old /index/* paths.
I am updating sitemap.tsv to remove /index/ from all entries to align with the new URL structure. I'll push the fix shortly

@aryanraj45 aryanraj45 force-pushed the CLDR-18575-drop-index-redirect branch from 493bfec to ca4628e Compare February 16, 2026 22:07
@jira-pull-request-webhook
Copy link

Notice: the branch changed across the force-push!

  • docs/site/sitemap.tsv is now changed in the branch

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@aryanraj45
Copy link
Author

aryanraj45 commented Feb 16, 2026

@srl295 I have updated the commit the local build is now passing successfully with build-site.sh ,Could you please take a look or trigger the workflow? Thanks!

@srl295 srl295 removed the request for review from AEApple February 16, 2026 22:42
@srl295
Copy link
Member

srl295 commented Feb 16, 2026

We could split this into two PRs - one just adding the redirect and renaming the files that need rename. It will work, but the links will have a redirect.

The second PR could fixup the /index links. This would let us reduce the risk of conflicts.

@aryanraj45 please run the build script i mentioned, the .tsv needs to be updated when files are moved.

@aryanraj45
Copy link
Author

aryanraj45 commented Feb 17, 2026

@srl295 Understood the changes, that makes sense. I will split this work into two separate PRs as you suggested one for renaming the files and another for the /index links

Also prior to this I have already updated the sitemap.tsv and verified the build locally, which is why the build is now successful here in the github as well and successfully deployed to cloudflare

- Renamed 32 files from docs/site/index/* to docs/site/*
- Updated _redirects with catch-all rule: /index/* -> /:splat
- Updated sitemap.tsv to reflect new file paths
- Site now works via redirects (link fixes in separate PR)
@aryanraj45 aryanraj45 force-pushed the CLDR-18575-drop-index-redirect branch from ca4628e to a59e1a0 Compare February 17, 2026 05:43
@jira-pull-request-webhook
Copy link

Notice: the branch changed across the force-push!

  • docs/site/_redirects is different
  • docs/site/charts.md is different
  • docs/site/cldr-spec.md is different
  • docs/site/cldr-spec/core-data-for-new-locales.md is different
  • docs/site/cldr-spec/coverage-levels.md is different
  • docs/site/cldr-spec/definitions.md is different
  • docs/site/cldr-spec/plural-rules.md is different
  • docs/site/corrigenda.md is different
  • docs/site/ddl.md is no longer changed in the branch
  • docs/site/development/adding-locales.md is no longer changed in the branch
  • docs/site/development/cldr-big-red-switch/brs-post-items.md is no longer changed in the branch
  • docs/site/development/development-process.md is no longer changed in the branch
  • docs/site/development/development-process/design-proposals/bcp-47-changes-draft.md is no longer changed in the branch
  • docs/site/development/development-process/design-proposals/iso-639-deprecation-requests-draft.md is no longer changed in the branch
  • docs/site/development/development-process/design-proposals/json-packaging-approved-by-the-cldr-tc-on-2015-03-25.md is no longer changed in the branch
  • docs/site/development/updating-dtds.md is no longer changed in the branch
  • docs/site/downloads.md is different
  • docs/site/downloads/cldr-43.md is no longer changed in the branch
  • docs/site/downloads/cldr-44.md is no longer changed in the branch
  • docs/site/downloads/cldr-45.md is no longer changed in the branch
  • docs/site/downloads/cldr-46.md is no longer changed in the branch
  • docs/site/downloads/cldr-47.md is no longer changed in the branch
  • docs/site/downloads/cldr-48.md is no longer changed in the branch
  • docs/site/downloads/cldr-49.md is no longer changed in the branch
  • docs/site/downloads/previous-releases.md is no longer changed in the branch
  • docs/site/index.md is no longer changed in the branch
  • docs/site/index/cldr-spec.md is no longer changed in the branch
  • docs/site/json-format-data.md is different
  • docs/site/keyboard-workgroup.md is different
  • docs/site/locale-coverage.md is different
  • docs/site/process.md is different
  • docs/site/process/keyboard-repository-process.md is different
  • docs/site/requesting_changes.md is no longer changed in the branch
  • docs/site/survey-tool.md is different
  • docs/site/survey-tool/bulk-data-upload.md is different
  • docs/site/survey-tool/cldr-organization.md is different
  • docs/site/survey-tool/coverage.md is different
  • docs/site/survey-tool/faq-and-known-bugs.md is different
  • docs/site/survey-tool/managing-users.md is different
  • docs/site/survey-tool/survey-tool-accounts.md is different
  • docs/site/translation.md is no longer changed in the branch
  • docs/site/translation/core-data/characters.md is no longer changed in the branch
  • docs/site/translation/core-data/exemplars.md is no longer changed in the branch
  • docs/site/translation/currency-names-and-symbols.md is no longer changed in the branch
  • docs/site/translation/date-time/date-time-patterns.md is no longer changed in the branch
  • docs/site/translation/ddl.md is no longer changed in the branch
  • docs/site/translation/error-codes.md is no longer changed in the branch
  • docs/site/translation/getting-started.md is no longer changed in the branch
  • docs/site/translation/getting-started/guide.md is no longer changed in the branch
  • docs/site/translation/getting-started/plurals.md is no longer changed in the branch
  • docs/site/translation/getting-started/survey-tool-phases.md is no longer changed in the branch
  • docs/site/translation/getting-started/vetting-view.md is no longer changed in the branch
  • docs/site/translation/grammatical-inflection.md is no longer changed in the branch

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@aryanraj45
Copy link
Author

@srl295 I have updated this PR to follow your suggestion. This PR now contains only:

  • File renames: moved 32 files from docs/site/index/* to docs/site/*
  • Added redirect rule in _redirects: /index/* /:splat 301
  • Updated sitemap.tsv to reflect the new file paths
  • Verified build locally using jekyll build - site builds successfully

The markdown link fixes will be in a separate PR to reduce conflict risk as you suggested.

Please have a look, thanks!

@srl295
Copy link
Member

srl295 commented Feb 17, 2026

@aryanraj45 thank you. Note that most importantly we need to discuss when to make this change.

@aryanraj45
Copy link
Author

aryanraj45 commented Feb 17, 2026

@srl295 No worries, totally understand that changing URLs is a big move and needs proper coordination and timing with the team.
Both PRs are ready, and I’m happy to make any adjusments whenever you’re ready to move forward. Thanks!

@srl295 srl295 added the Site Update Updates docs/site label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Site Update Updates docs/site

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants