Improve SEO#9
Merged
Merged
Conversation
Wrap the app in HelmetProvider and add a reusable Seo component that renders title, description, Open Graph, Twitter card, and canonical tags from shared site constants. The layout emits baseline tags plus site wide WebApplication and WebSite JSON-LD, and each page overrides title, description, and canonical. Courses and FAQ add BreadcrumbList JSON-LD, and the not found page is marked noindex. Prerendering is deferred; vite-react-ssg is the planned future approach over react-snap due to MUI emotion.
… head meta Add static SEO fallbacks for non-JS social scrapers and crawlers. Include canonical link, Open Graph and Twitter card meta, web app manifest with brand colors, resized PWA icons, and a branded OG fallback image.
Add vite-plugin-sitemap to emit dist/sitemap.xml for the routes /, /courses and /faq with lastmod values. Set generateRobotsTxt to false so the existing hand-written public/robots.txt is preserved.
|
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.
search engine optimization
with branding, descriptions, open graph, sitemap xml, robots.txt, web manifest, meta tags