Skip to content

DOC-5428 Fix search-and-query documentation aliases #1801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2025
Merged

Conversation

mich-elle-luna
Copy link
Collaborator

Alias fixes to resolve 404 errors and incorrect redirects:

Fixed broken basic-constructs aliases:

  • field-and-type-options.md: Fixed alias to point to correct interact paths
  • schema-definition.md: Fixed alias to point to correct interact paths
  • configuration.md: Added missing interact aliases and fixed format

Fixed directory redirect issues (_index.md files):

  • Added trailing slash variants for all directory aliases
  • Fixed indexing/ and query/ URLs that were redirecting to home page
  • Updated: _index.md, indexing/_index.md, query/_index.md, advanced-concepts/_index.md, administration/_index.md, best-practices/_index.md, deprecated/_index.md

Added missing aliases:

  • index-mgmt-best-practices.md: Added missing interact alias
  • aggregations-syntax.md: Added missing interact alias

Root causes addressed:

  • Aliases were incorrectly pointing to /ai/ paths instead of /interact/ paths
  • Directory aliases needed both with/without trailing slash variants
  • Some files missing interact aliases entirely

These fixes should resolve:

  • 404 errors on basic-constructs URLs
  • Directory URLs redirecting to home page instead of correct AI locations
  • Missing backward compatibility for moved files

Addresses DOC-5428

## Critical alias fixes to resolve 404 errors and incorrect redirects:

### Fixed broken basic-constructs aliases:
- field-and-type-options.md: Fixed alias to point to correct interact paths
- schema-definition.md: Fixed alias to point to correct interact paths
- configuration.md: Added missing interact aliases and fixed format

### Fixed directory redirect issues (_index.md files):
- Added trailing slash variants for all directory aliases
- Fixed indexing/ and query/ URLs that were redirecting to home page
- Updated: _index.md, indexing/_index.md, query/_index.md, advanced-concepts/_index.md, administration/_index.md, best-practices/_index.md, deprecated/_index.md

### Added missing aliases:
- index-mgmt-best-practices.md: Added missing interact alias
- aggregations-syntax.md: Added missing interact alias

### Root causes addressed:
- Aliases were incorrectly pointing to /ai/ paths instead of /interact/ paths
- Directory aliases needed both with/without trailing slash variants
- Some files missing interact aliases entirely

These fixes should resolve:
- 404 errors on basic-constructs URLs
- Directory URLs redirecting to home page instead of correct AI locations
- Missing backward compatibility for moved files

Addresses DOC-5428
@mich-elle-luna mich-elle-luna requested a review from a team July 3, 2025 01:26
Copy link
Contributor

@andy-stark-redis andy-stark-redis left a comment

Choose a reason for hiding this comment

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

All seem to be in working order. J'approve!

@mich-elle-luna mich-elle-luna merged commit ac374de into main Jul 3, 2025
5 checks passed
@mich-elle-luna mich-elle-luna deleted the DOC-5428 branch July 3, 2025 14:01
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