fix(seo): 404 redirects + annual_fee_free filter + new free annual fee page - #22
Merged
Conversation
- 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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
next.config.tsannual_fee_freeandhas_cashbacktoCardFiltersinterface (SSOT — filter logic now lives in API, see api#15)/loai-the/the-tin-dung-mien-phi-thuong-nienfor "thẻ tín dụng miễn phí thường niên" SEO keyword/the-tin-dung-phi-thuong-nien-thap→/loai-the/the-tin-dung-mien-phi-thuong-nienlib/api-types.generated.tsfrom updated API schemaTest plan
next.config.tsreturn 301 to correct destinations/loai-the/the-tin-dung-mien-phi-thuong-nienrenders with free annual fee credit cards only/the-tin-dung-phi-thuong-nien-thapredirects to new page (not homepage)🤖 Generated with Claude Code