If you are getting this issue: when clicking on the Author page or View Profile button, the browser redirects to the Homepage. Which means you are using Yoast SEO or Rank Math Seo plugin, and Disable feature is using.
To resolve this issue:
Yoast SEO: Please read https://yoast.com/help/disable-enable-author-archives/
Rank Math SEO: please read https://support.rankmath.com/ticket/author-page-redirect-to-home-page/