SSWConsulting / SSWConsulting/SSW.Website

🔎 SEO - Noindex Header Not Present on App Service URL

Open
#1,822 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
14
Forks
10
Avg merge
13h 51m
Merged PRs (30d)
38

Description

cc @wicksipedia @bradystroud @amankumarrr @jeoffreyfischer

As per our conversation in the Sprint Review, https://app-sswwebsite-9eb3.azurewebsites.net/ is missing the X-robots-tag: noindex header.

image
Figure: app-sswwebsite-9eb3.azurewebsites.net headers missing the noindex header

image
Figure: an example of the expected behaviour on app-sswwebsite-9eb3-staging.azurewebsites.net

### Tasks
- [ ] Fix `middleware.ts` to also add the noindex HTTP header to https://app-sswwebsite-9eb3.azurewebsites.net/ alongside PR, main deployments
- [ ] Verify the header is not present on prod

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect middleware.ts and compare the response headers for the app, staging, and production URLs. Ensure the app URL has the noindex HTTP header alongside PR, main deployments, then verify that the header is not present on prod.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.