Skip to content

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented May 9, 2025

Context

@florent-leborgne reported that when clicking the "View previous versions" in the landing page, he would be redirected back to elastic.co/docs.

We identified that it's caused by a local cached 301 redirect response.

This might affect public users as well.

Changes

To avoid a locally cached 301 response redirecting to back to elastic.co/docs I used a random query string ?lang=en so it does not look totally random like ?xyz.

We need this to avoid a locally cached 301 response redirecting to elastic.co/docs

I used ?lang=en so it does not look totally random like ?xyz
@reakaleek reakaleek requested a review from a team as a code owner May 9, 2025 14:39
@reakaleek reakaleek self-assigned this May 9, 2025
@reakaleek reakaleek added the fix label May 9, 2025
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

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

neat!

@reakaleek reakaleek merged commit 8b69073 into main May 9, 2025
14 of 15 checks passed
@reakaleek reakaleek deleted the feature/add-ramdon-query-string branch May 9, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants