Wordpress redirect issues on public/private site

After expired login whenever the user goes to the public part of the website it redirects them to login.

I’ve tried a few settings and reset wp cookies but it’s still an issue.