User sign in redirect to home page

Im using listing hive. When my users sign in the screen just reverts to ‘sign in’ again. I think this may be. A caching issue so any help on settings would be much appreciated. I am loosing users because they cannot use the site
Thanks
Camino Albergue

Hi,

Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users. Also, please refresh permalinks: How to refresh WordPress permalinks - HivePress Help Center

​I hope this is helpful to you

Thanks but still not working the only plugins I have are HivePress ones, Slim SEO and MailerLite

The user can sign in and when signed in the sign in still states ‘sign in’ but when they click on a listing or page they then see they are signed in as their user name appears.

So. They can sign in but the home page looks like they haven’t signed in

Ive deactivated the plugins and is still doing the same thing

Cache for loggin users is off.

Permalink is ‘post name’

Hi,

I see. If your site is on the live version, try also to check the server settings, perhaps caching or other settings are enabled there, or you can contact the hosting provider’s support.

They are saying it’s a hivepress issue. So here goes.

I purge the cache and the sign in process work ok and user name is at the top of the site.

If I sign in again the user name doesn’t appear and just says sign in as normal. If I click on one of the pages the user name appears and are signed in

I clear the cache and all ok until 2 be time and the happens again.

My users think they are not signed in when they actually are they try sign in again and same happens so they just leave the site

Mark

They say i need to exclude the login page from cache. How would i do this ?

Should I be doing this ?

Hi,

Please clarify whether you received a response from the host or from the caching plugin support. Also, please note that we use the WordPress core function for logging in via the REST API, so this is a 100% issue on the part of the caching (plugin or hosting provider) as they do not detect changes in user status. From our side, we will see if we can do something about this issue. As a temporary solution, we recommend configuring the caching we recommended above for all pages and considering adding the LiteSpeed plugin How to Speed up a HivePress-built Website | HivePress Blog.

​I hope this is helpful to you

Thanks, I did all the cache suggestions, made 3rd party plugins inactive and already have the lite speed plugin. still the same issues with users signing in unfortunately
mark

Hi,

Please try adding this PHP snippet define('DONOTCACHEPAGE', true); and check if the issue persists. You can add a PHP snippet using this doc: How to add custom code snippets - HivePress Help Center

Thanks. That snippet has resolved the error

1 Like