cloudflare-pages Tag
How I automatically submit only new or updated post URLs to IndexNow on every deploy of a static blog by comparing lastmod in the live sitemap with the freshly built one. One submission reaches Bing, Naver, and other participating engines.
How I send visitors of a static multilingual site straight to their language using a Cloudflare Pages Functions middleware that reads Accept-Language and a language cookie, then 302-redirects to the translated page while leaving search bots alone.
On Cloudflare Pages, a static site's /x URL can get redirected to /x/. Here is why it happens (the x/index.html file layout) and how I kept slash-free URLs by flattening the build output into x.html files.