Skip to content

fix: resolve search console indexing issues on docs - #1012

Open
dhananjay6561 wants to merge 5 commits into
keploy:mainfrom
dhananjay6561:fix/indexing-issues
Open

dhananjay6561 wants to merge 5 commits into
keploy:mainfrom
dhananjay6561:fix/indexing-issues

Conversation

@dhananjay6561

@dhananjay6561 dhananjay6561 commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

What has changed?

Fixes the docs side of the keploy.io Search Console coverage issues (page with redirect, alternative page with proper canonical, not found).

  • Footer "Privacy Policy" link pointed at /privacy-policy, which 308s to /legal/privacy-policy on all ~274 docs pages. It now links to the final URL.
  • src/pages/privacy-policy.js: https://keploy.io/docs and https://keploy.io/docs/security now carry the trailing slash, skipping the S3 302.
  • Glossary pages for black box, white box and regression testing canonicalise to blog posts but were still in the docs sitemap. They are now in the sitemap ignorePatterns (canonicals unchanged).
  • Version dropdown no longer lists 2.0.0. Every docs page linked to /docs/2.0.0/..., and most of those 301 to current docs via CloudFront (GSC "page with redirect"). The 2.0.0 pages still build, they're just not linked sitewide anymore. 1.0.0 stays.
  • Added redirects in src/redirects.js for old docs URLs that blog posts still link to and that 404 today:
Old New
/introduction/ /keploy-explained/introduction/
/advanced/test-templatisation/ /running-keploy/keploy-templatize/
/cli/commands/ /running-keploy/cli-commands/
/features/testing/ /operation/test-operations/
/server/sdk-installation/typescript/ /server/sdk-installation/javascript/
/ci-cd/ /ci-cd/github/

/features/rerecord was left out, there is no matching page.

Type of change

  • Bug fix (non-breaking change which fixes an issue).

How Has This Been Tested?

  • yarn build passes, along with the CI checks it runs: verify-moved-urls (all new redirects resolve to real pages), verify-lastmod, verify-schema, verify-linkedin-tag, verify-ui-capture-sdk-links.
  • Built sitemap has 271 URLs vs 274 live; the only ones dropped are the three glossary pages, which still build with their blog canonicals.
  • Prettier clean.

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.

Research

Short version:

  • Source: the Search Console Page indexing export for keploy.io (data through 16 Nov 2026), with 1,443 pages not indexed and 1,772 indexed. These PRs target three buckets: Not found (404) with 213, Page with redirect with 201, and Alternative page with proper canonical tag with 194.
  • The export only gives counts per reason, not URLs. To find the pages behind them, I crawled the live site on 26 Nov: 1,034 sitemap URLs, 1,414 internal link targets and the content of all 548 WordPress posts. For each one I checked the status, redirect hops, canonical tag and robots meta.
  • Main findings here: the footer privacy link (a 308) was on every docs page, and the version dropdown linked 2.0.0 pages from every page (70 of 118 are 301s at CloudFront, and the other 48 are noindex). Three glossary pages were in the sitemap even though their canonicals point at the blog.
  • Re-checked against the live site on 27 Nov: all 6 redirect sources are still 404, and every target returns 200 and is in the sitemap.
  • Google references: canonicals, redirects, sitemaps, Page indexing report.

Signed-off-by: dhananjay6561 <dhananjayaggarwal6561@gmail.com>
Signed-off-by: dhananjay6561 <dhananjayaggarwal6561@gmail.com>
Signed-off-by: dhananjay6561 <dhananjayaggarwal6561@gmail.com>
Signed-off-by: dhananjay6561 <dhananjayaggarwal6561@gmail.com>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 05:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

Signed-off-by: dhananjay6561 <dhananjayaggarwal6561@gmail.com>

@amaan-bhati amaan-bhati left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@dhananjay6561 Mostly looks good to me, if possible, please add a doc/artifact or research references if shared by the seo team, or if you have anything research oriented on this, makes it easier for anyone referencing this pr in the future.

@dhananjay6561

Copy link
Copy Markdown
Member Author

@amaan-bhati added a research section to the description, the full doc is here: https://claude.ai/artifact/DVb2wAVJD9CDPe2PC65eEK

nothing came from the seo team on this one. it's based on the search console page indexing export plus a crawl of the live site, since the export only gives counts per reason and no urls. the doc covers what each gsc bucket means, which pages were behind them, why each fix was done the way it was (with google's docs for each), and what's left outside these prs.

rechecked the docs side today too: all 6 redirect sources are still 404, and every target returns 200 and is in the sitemap. of the 118 pages under /docs/2.0.0, 70 are 301s at cloudfront and the other 48 are noindex, which is why the dropdown no longer links them.

This branch has not been deployed

No deployments
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