How to prevent WordPress from redirecting single page to prefixed category archive with same name?

Thanks @Tom J Nowell for suggesting I post this fix as an answer!

So the answer I found was that Yoast, a custom permalink plugin, and permalinks category bases were conflicting with each other on my site. Here’s what I did to fix it:

  • Make sure your category base is specified in Permalinks. Save them.
  • Remove any custom permalink slugs in the category terms.
  • Go to Yoast > Search Appearance > Taxonomies and scroll to the very bottom. Make sure Category URLs is set to Keep.
  • Clear any cache and/or flush_rewrite_rules.
  • Voila it’s fixed.