This document outlines the Cloudflare/DNS configuration changes needed to resolve Google Search Console indexing issues.
| Issue | Pages | Root Cause |
|---|---|---|
| Page with redirect | 71 | Old subdomains redirecting |
| Alternate page with canonical | 15 | Non-www serving same content |
| Not found (404) | 14 | Deleted pages still indexed |
| Duplicate without canonical | 12 | Old subdomain content |
The following old subdomains are causing "Page with redirect" issues:
Current: 301 redirect to geekfun.club/products/dockit/
Issue: Google sees this as redirect, not canonical
Solution A - Remove from DNS (Recommended):
- Go to Cloudflare Dashboard → DNS
- Delete the
dockitCNAME/A record - This will make the subdomain return 404/410
- Submit URL removal request in Google Search Console
Solution B - 410 Gone Response:
- Go to Cloudflare Dashboard → Rules → Page Rules
- Create rule for
dockit.geekfun.club/* - Set "Cache Level" to "Bypass"
- Add custom header:
X-Robots-Tag: noindex - Or return 410 Gone status
Current: 200 OK (still serving content) Issue: Duplicate content, old site still live
Solution: Either:
- Remove DNS record entirely
- Add
X-Robots-Tag: noindexheader - Set up proper 301 redirects to new domain
Current: 200 OK (very old site) Issue: Very old content still indexed
Solution:
- Remove DNS record entirely
- Submit URL removal in Google Search Console
Current: Both geekfun.club and www.geekfun.club serve same content (200 OK)
Issue: Google sees duplicate content
Solution - Add Page Rule:
- Go to Cloudflare Dashboard → Rules → Page Rules
- Create new rule:
- URL:
geekfun.club/* - Setting: Forwarding URL (301 - Permanent Redirect)
- Destination:
https://www.geekfun.club/$1
- URL:
Current: /download.html → 308 → /download
Issue: 308 redirect flagged as "Page with redirect"
Solution: Already configured trailingSlash: false in VitePress
The _redirects file provides 301 redirects which are preferred.
After making DNS changes, submit removal requests for:
-
dockit.geekfun.club:
- Go to GSC → Index → Removals
- Submit:
dockit.geekfun.club/*
-
serverlessinsight.geekfun.club:
- Submit:
serverlessinsight.geekfun.club/*
- Submit:
-
seven.geekfun.club:
- Submit:
seven.geekfun.club/*
- Submit:
URL: geekfun.club/*
Setting: Forwarding URL (301 - Permanent Redirect)
Destination: https://www.geekfun.club/$1
URL: dockit.geekfun.club/*
Setting: Forwarding URL (410 - Gone)
URL: serverlessinsight.geekfun.club/*
Setting: Forwarding URL (410 - Gone)
URL: seven.geekfun.club/*
Setting: Forwarding URL (410 - Gone)
After implementing these changes:
| Timeline | Expected Change |
|---|---|
| 1-2 weeks | Redirect errors start decreasing |
| 2-4 weeks | 404s from old subdomains drop |
| 4-8 weeks | All issues resolved |
-
Test redirects:
curl -I https://geekfun.club/ # Should return 301 to www.geekfun.club curl -I https://dockit.geekfun.club/ # Should return 410 Gone or no response
-
Check GSC weekly:
- Monitor Page indexing report
- Check for decreasing error counts
-
Submit sitemap:
- Ensure sitemap.xml only contains www.geekfun.club URLs
- Submit in GSC if not already done