Skip to content

Conversation

@craigbox
Copy link
Contributor

Changing the baseURL from /latest to https://istio.io/latest/ caused two related problems:

  1. redirects stopped working
  2. search stopped working because it relied on redirects

The latter is fixed by way of updating /search to /latest/search. For now at least, I assume we are going to only have one search index.

For the former, I have removed a redirect for every. single. page. (~2000 lines) and replaced with a wildcard redirect for the five paths we care about.

This only fixes links that don't include a version, which should only be links that were broken (like point 2), or older than 5 years, when we introduced /latest/ to all the URLs.

@craigbox craigbox requested review from a team as code owners July 17, 2025 01:53
@istio-testing istio-testing added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 17, 2025
@craigbox craigbox linked an issue Jul 17, 2025 that may be closed by this pull request
@istio-testing istio-testing merged commit 8836b38 into istio:master Jul 17, 2025
6 checks passed
@craigbox craigbox deleted the fix-search-and-redirects branch July 17, 2025 02:25
@craigbox craigbox added the cherrypick/release-1.26 Set this label on a PR to auto-merge it to the release-1.26 branch label Jul 17, 2025
@craigbox
Copy link
Contributor Author

click 🔍 on https://deploy-preview-16680--preliminary-istio.netlify.app: sent to /latest/search?q=test
go to https://deploy-preview-16680--preliminary-istio.netlify.app/news/: sent to /latest/news/

@istio-testing
Copy link
Contributor

In response to a cherrypick label: new pull request created: #16682

AritraDey-Dev pushed a commit to AritraDey-Dev/istio.io that referenced this pull request Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherrypick/release-1.26 Set this label on a PR to auto-merge it to the release-1.26 branch size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Isito.io search is not functional

3 participants