I made Astro build my .htaccess file for server-side redirects with Apache. With over a decade as Random Geekery, my site— Look I’m gonna go straight to the code and do the explanation after. If you need this information, you need it now. Put your generating logic in a GET function exported from src/pages/ENDPOINT.js. src/pages/htaccess.jsimport { getCollection } from "astro:content"exportasyncfunction GET(context) { const posts =await getCollection("posts") const directiveText = posts.ma...