Level 3 Optimization: Enhanced Sitemap for Improved SEO, Accessibility & Scalability #894
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
This PR refines the sitemap.xml in the public/ folder to follow advanced SEO, accessibility, and future scalability standards. It enhances how AnimateHub is crawled and indexed by search engines, ensuring better discoverability and user navigation coverage.
Changes Made
Added XML namespaces for xhtml, image, and news (future-proofing for multilingual & media content).
Updated values to reflect current site freshness (2025-10-21).
Optimized priority and changefreq for key routes like /contributors, /favorites, and /profile.
Added new pages /404 and /help for complete coverage.
Improved structure, readability, and indentation consistency.
Impact
Boosts SEO crawl efficiency and ranking signals.
Improves sitemap compatibility across search engines (Google, Bing, etc.).
Reduces future maintenance overhead for sitemap updates.
Testing
Validated the sitemap via Google Search Console Sitemap Validator.
Passed XML validation with no schema errors.
Confirmed all URLs resolve successfully in production.
regards,
Sashreek Das