Skip to content

feat: add crawlable camera pages and SEO discovery - #4

Merged
hoangsvit merged 11 commits into
developfrom
feat/seo-camera-pages
Oct 6, 2026
Merged

hoangsvit merged 11 commits into
developfrom
feat/seo-camera-pages

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Mục tiêu

Bổ sung SEO technical + crawlable content cho camera-hcm.eplus.dev, tập trung vào việc giúp search engines và AI agents tìm thấy từng camera thay vì chỉ thấy một homepage phụ thuộc JavaScript.

Thay đổi chính

Crawlable camera pages

  • Thêm camera.php?id={CamId} render server-side
  • Title/description/canonical riêng cho từng camera
  • Open Graph + Twitter metadata
  • Schema.org JSON-LD cho từng camera page
  • Related cameras cùng khu vực để tăng internal linking
  • Nút share/copy link
  • Auto refresh hình camera nhưng vẫn giữ nội dung HTML crawlable

Homepage SEO

  • Canonical chính thức: https://camera-hcm.eplus.dev/
  • Meta robots + improved description/title
  • Open Graph/Twitter metadata
  • WebApplication structured data
  • Visible descriptive content cho crawler và user
  • Internal link từ mỗi card sang detail page

Discovery

  • robots.txt
  • sitemap.xml sitemap index
  • sitemap.php sinh URL homepage + toàn bộ camera
  • favicon.svg
  • manifest.webmanifest
  • llms.txt
  • agents.md

CI

  • Update checkout action
  • Lint toàn bộ PHP
  • Validate sitemap URL count = camera count + homepage
  • Validate canonical/structured-data/manifest anchors
  • HTTP smoke test homepage, camera detail và sitemap

SEO rationale

Google recommends consistent canonical signals and sitemap discovery for canonical URLs, while structured data helps Google understand page content. This PR makes each camera a stable, crawlable canonical URL instead of relying on client-side rendering only.

Base: develop

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bceba821-39d1-49ea-876c-1ea0739134b2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@hoangsvit
hoangsvit merged commit 7854647 into develop Oct 6, 2026
2 checks passed
@hoangsvit
hoangsvit deleted the feat/seo-camera-pages branch October 6, 2026 03:10
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