Site no longer renders with Hugo 0.18; now gives "LinkResolver: No page found for xxx" and 404 errors

I am posting this in the forums as requested by @bep in the Github issue at: Hugo 0.18 broke my site; now gives "LinkResolver: No page found for xxx" and 404 errors · Issue #3026 · gohugoio/hugo · GitHub That issue states, in part:

My site is a straightforward collection of a few thousand Markdown pages that worked fine for Hugo 0.16.

Regrettably, our hosting provider has switched to Hugo 0.18, and many (perhaps all) relative links between pages in the Markdown now give message of “LinkResolver: No page found for xxx”

I was able to work around the error messages by removing sourceRelativeLinksEval: false from my config.yaml file.

But… the site is still not working. Relative links do not work (give 404 page not found), and it appears that links to Markdown files cannot end in “.md”, but must end in “/” (e.g., the link must be .../wiki/MarkDownFile/, not .../wiki/MarkDownFile.md)

My question: Is there a way to make the source files work properly again, without editing off the “.md” for my entire site? Many thanks.

You can script it, easy search and replace.