Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@caugner
Copy link
Contributor

@caugner caugner commented May 16, 2024

Summary

(MP-1109, MP-1110)

Problem

  1. Robots tag for 404 page is unnecessary, as it is ignored anyways.
  2. Robots tag with value "index, follow" is unnecessary, as it is the default.

Solution

Remove these robots tags.


How did you test this change?

  1. Added BUILD_ALWAYS_ALLOW_ROBOTS=true to my .env file.
  2. Ran yarn build:prepare.
  3. Verified that client/build/en-us/index.html and client/build/en-us/_spa/404.html both no longer have a robots tag (previously index, follow).
  4. Verified that client/build/en-us/plus/collections/index.html still has a robots tag with value noindex,nofollow.

1. Robots tag for 404 page is unnecessary, as it is ignored anyways.
2. Robots tag with value "index, follow" is unnecessary, as it is the default.
@caugner caugner requested a review from a team as a code owner May 16, 2024 03:26
Copy link
Contributor

@fiji-flo fiji-flo left a comment

Choose a reason for hiding this comment

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

👍

@fiji-flo fiji-flo merged commit 1207158 into main May 16, 2024
@fiji-flo fiji-flo deleted the MP-1109-MP-1110-remove-unnecessary-robots-tags branch May 16, 2024 09:18
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