Skip to content

fix(seo): 404 redirects + annual_fee_free filter + new free annual fee page - #22

Merged
phucbm merged 2 commits into
mainfrom
fix/seo-404-redirects
Jun 13, 2026
Merged

fix(seo): 404 redirects + annual_fee_free filter + new free annual fee page#22
phucbm merged 2 commits into
mainfrom
fix/seo-404-redirects

Conversation

@phucbm

@phucbm phucbm commented Jun 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Fix 355 GSC "Not found" 404 URLs by adding redirects in next.config.ts
  • Add annual_fee_free and has_cashback to CardFilters interface (SSOT — filter logic now lives in API, see api#15)
  • New page /loai-the/the-tin-dung-mien-phi-thuong-nien for "thẻ tín dụng miễn phí thường niên" SEO keyword
  • Fix redirect /the-tin-dung-phi-thuong-nien-thap/loai-the/the-tin-dung-mien-phi-thuong-nien
  • Regenerate lib/api-types.generated.ts from updated API schema

Test plan

  • All redirects in next.config.ts return 301 to correct destinations
  • /loai-the/the-tin-dung-mien-phi-thuong-nien renders with free annual fee credit cards only
  • Breadcrumbs and JSON-LD present on new page
  • /the-tin-dung-phi-thuong-nien-thap redirects to new page (not homepage)

🤖 Generated with Claude Code

phucbm and others added 2 commits June 13, 2026 10:14
- Fix dead /cards/2in1 → /loai-the/the-hybrid (was pointing to non-existent /the-2-trong-1)
- Add /the-2-trong-1 → /loai-the/the-hybrid
- Add /the-kim-loai → /loai-the/the-hybrid
- Add /the-tin-dung-amex → /the
- Add /the-tin-dung-phi-thuong-nien-thap → /the
- Add /openwallet-app → /
- Add /llms/* → /
- Add /api/patches/* → /
…ards page

- New page /loai-the/the-tin-dung-mien-phi-thuong-nien (ISR, breadcrumbs, JSON-LD)
  fetches getCards({type: 'credit', annual_fee_free: true}) via API filter
- lib/api.ts: add annual_fee_free and has_cashback to CardFilters interface
- next.config.ts: fix redirect /the-tin-dung-phi-thuong-nien-thap → new page
- Regenerate lib/api-types.generated.ts from live API schema

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@phucbm
phucbm merged commit 0e4a042 into main Jun 13, 2026
1 of 2 checks passed
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwallet Building Building Preview, Comment Jun 13, 2026 3:37am

@phucbm
phucbm deleted the fix/seo-404-redirects branch June 13, 2026 03:37
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.

1 participant