Skip to content

feat(noIndex): applying noIndex to /partner pages

Miracle Banks requested to merge noIndex-partner-pages into main

Build Variables:

  • Use Contentful Preview API

Summary:

This merge request updates the microsite pages to include the noindex directive in their metadata. This ensures that these pages are not indexed by search engines, preventing them from appearing in search results.

Changes:

  1. asyncData Method: Updated the asyncData method to set metadata.noindex = true for the microsite pages.

  2. head Method: Modified the head method to include the noindex attribute in the page metadata by setting noindex: true in the metadata object.

Testing:

1.Navigate to a /partner page.

2.Inspect the page source and ensure the noindex attribute is present in the metadata.

related to: #3808 (closed)

Affected URLs
URL Review app
https://about.gitlab.com/partner/bit2bit-americas/ https://noIndex-partner-pages.about.gitlab-review.app/partner/bit2bit-americas/
https://about.gitlab.com/partner/cloud-underground/ https://noIndex-partner-pages.about.gitlab-review.app/partner/cloud-underground/
https://about.gitlab.com/partner/devops1/ https://noIndex-partner-pages.about.gitlab-review.app/partner/devops1/
https://about.gitlab.com/partner/dimensional-data-srl/ https://noIndex-partner-pages.about.gitlab-review.app/partner/dimensional-data-srl/
https://about.gitlab.com/partner/fineshift-software-private-limited/ https://noIndex-partner-pages.about.gitlab-review.app/partner/fineshift-software-private-limited/
https://about.gitlab.com/partner/fpt-international-telecom-co-ltd/ https://noIndex-partner-pages.about.gitlab-review.app/partner/fpt-international-telecom-co-ltd/
https://about.gitlab.com/partner/itmethods/ https://noIndex-partner-pages.about.gitlab-review.app/partner/itmethods/
https://about.gitlab.com/partner/kinetic-skunk-it-solutions/ https://noIndex-partner-pages.about.gitlab-review.app/partner/kinetic-skunk-it-solutions/
https://about.gitlab.com/partner/li9/ https://noIndex-partner-pages.about.gitlab-review.app/partner/li9/
https://about.gitlab.com/partner/moonsoft-oy/ https://noIndex-partner-pages.about.gitlab-review.app/partner/moonsoft-oy/
https://about.gitlab.com/partner/nextgen-technologies/ https://noIndex-partner-pages.about.gitlab-review.app/partner/nextgen-technologies/
https://about.gitlab.com/partner/ottra/ https://noIndex-partner-pages.about.gitlab-review.app/partner/ottra/
https://about.gitlab.com/partner/releaseteam/ https://noIndex-partner-pages.about.gitlab-review.app/partner/releaseteam/
https://about.gitlab.com/partner/turingears/ https://noIndex-partner-pages.about.gitlab-review.app/partner/turingears/
https://about.gitlab.com/partner/unilogik/ https://noIndex-partner-pages.about.gitlab-review.app/partner/unilogik/
https://about.gitlab.com/partner/x-rd/ https://noIndex-partner-pages.about.gitlab-review.app/partner/x-rd/
Production Review app
https://about.gitlab.com/ WIP

Step 2: Ensure that your changes comply with the following, where applicable:

  • I, the Assignee, have run Axe tools on any updated pages, and fixed the relevant accessibility issues.
  • These changes work on both Safari, Chrome, and Firefox.
  • These changes have been reviewed for Visual Quality Assurance and Functional Quality Assurance on Mobile, Desktop, and Tablet.
  • These changes work with our Google Analytics and SEO tools.
  • These changes have been documented as expected.

Step 3: Ensure that your changes don't cause regressions on key pages, where applicable:

Production Review app
https://about.gitlab.com/ WIP
https://about.gitlab.com/ja-jp/ WIP
https://about.gitlab.com/pricing/ WIP
https://about.gitlab.com/ja-jp/pricing/ WIP
https://about.gitlab.com/sales/ WIP
https://about.gitlab.com/gitlab-duo/ WIP
https://about.gitlab.com/enterprise/ WIP
https://about.gitlab.com/platform/ WIP
https://about.gitlab.com/free-trial/ WIP
Edited by Miracle Banks

Merge request reports