Boosting SEO on the Landing Page
The devlog-ist/landing project focuses on creating a compelling landing experience. Recent work centered on improving SEO and ensuring proper sitemap discovery.
The Problem
The Cloudflare CDN was overriding the application's robots.txt, which prevented search engines from discovering the sitemap. This negatively impacted SEO performance.
The Approach
To bypass the CDN override, a <link rel="sitemap"> tag was added to both the seo-meta component and the welcome page. This provides a direct path for search engines to locate the sitemap, even if the robots.txt file is not correctly served. Additional SEO enhancements, such as a canonical URL, Google Site Verification, and Google Analytics integration, were also implemented on the welcome page.
Key Insight
Using <link rel="sitemap"> provides a robust method for ensuring sitemap discovery, even when CDN configurations interfere. Check the full article for more details.