Skip to content

[BUG] Search results from docs.opensearch.org incorrectly link to blog and event pages #10711

@lawofcycles

Description

@lawofcycles

Describe the bug

Description

When using the search functionality on docs.opensearch.org, search results for blog
posts and events generate broken links. The search API returns relative URLs (e.g.,
/blog/..., /events/...) which are incorrectly resolved to
docs.opensearch.org/blog/... instead of the correct opensearch.org/blog/....

Actual Behavior

  • Blog posts incorrectly link to https://docs.opensearch.org/blog/... → Access Denied
  • Events incorrectly link to https://docs.opensearch.org/events/... → Access Denied

Expected behavior

  • Blog posts should link to https://opensearch.org/blog/...
  • Events should link to https://opensearch.org/events/...
  • Documentation pages should continue to link to https://docs.opensearch.org/docs/...

Screenshots

Image Image

To Reproduce

  1. Navigate to any page on docs.opensearch.org
  2. Use the search bar to search for "blog" or "event"
  3. Click on any blog or event search result
  4. The link leads to a 404 error page with "Access Denied" message

Additional Details

No response

Metadata

Metadata

Labels

bugTechnical problem with the doc site or broken linkenhancementuntriaged

Type

No type

Projects

Status

Done

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions