Skip to content
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

WSTEAM1-1612 - Set noindex on av-embeds pages #12329

Open
wants to merge 1 commit into
base: latest
Choose a base branch
from

Conversation

amoore108
Copy link
Contributor

Resolves JIRA https://jira.dev.bbc.co.uk/browse/WSTEAM1-1612

Overall changes

  • Sets x-robots-tag: noindex on all av-embeds routes to prevent them being surfaced in search engines

Testing

  1. Visit http://localhost:7081/ws/av-embeds/articles/cd1rmn075d1o/p0jd37n8/ig?renderer_env=live
  2. Open dev tools > Network > Doc > click the document html
  3. Click the 'Headers' tab, scroll down and confirm X-Robots-Tag is set

Helpful Links

Add Links to useful resources related to this PR if applicable.

Coding Standards

Repository use guidelines

@amoore108 amoore108 self-assigned this Jan 23, 2025
Copy link
Contributor

@eagerterrier eagerterrier left a comment

Choose a reason for hiding this comment

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

lgtm-ship-it

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.

3 participants