Patrick Donahue This is the filesystem check. With cleanUrls: true, /about maps to about.html and / maps to index.html, and the vercel.json docs say rewrites only run after the filesystem: "The source property should NOT be a file because precedence is given to the filesystem prior to rewrites being applied." So for any path that has a real HTML file, the rewrite never fires. Your headers rule still matches though, which is why you can end up with HTML in the body and a markdown content type on top. What worked for me is moving the Accept-header rule into routes, which is evaluated before the filesystem. I re
Izumie Thanks, yeah I've changed rewrite into route and it worked. but agents are accessing different markdown paths like for about.html(with clean url 'about') getting the request at about/_markdown/about.md instead of accessing the page itself.
system There's another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes. community.vercel.com/t/debugging-404-errors/437 A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.
Amy Egan Did you try the debugging tips linked above? I'd recommend checking the build settings and output to figure out why the page is missing