Hi I am making simple wordpress sites, but recently I turned on the "Allow new members to register" option. I did some tests and: when I'm logged out I visit some pages of my site, after that I log in and I'm redirected to the home page and it is correctly indicated that I am logged in. But then I visit the same pages, which I visited when I was logged out, and on them I appear as logged out. If I do a F5 refresh, I appear logged in again. To put it simply: my browser cache for the whole site does not get cleared when I log in. Is this normal behaviour and if no how can I fix it?
Related
I have my WordPress site, https://taajisabji.incheaprate.com. There is a problem that after customers logged in, they can access all other pages except the home page. A home page giving Err_too_many_redirects error after logged in. Before logging in, it is works superb.
I have tried everything like, WP URL, Site URL, wp-config.php but it's not working. I think this is some other problem as the error shown only after the customer logged in.
Through the Admin account logged in, the Home page is not redirecting means works well.
Finally I got the solution of my query.
My homepage was blocked by Ultimate User plugin. I have made some changes like access the home page was unticked and the same I have ticked in Customer User Roles.
Now my problem solved...
If you are facing the same issue, please check the ultimate user plugin first.
I am using WPBrigade plugin "LoginPress" and has a login page which is created from file: wp-login.php.
If a new visitor is logging into the site, it displays an login_error with the following warning:
quote Error: Cookies are blocked or not supported by your browser. You must enable cookies in order to use WordPress.
If the user tries to login again without clicking on the link provided by the error message and do not adjust browser settings regarding cookies the login works fine and the user is logged into the site. If they click on the link they are redirected to wordpress official site regarding cookies. If they then return to the site it works fine (since it's a second attempt like in the first case).
My problem is that I want the user to be able to login without having this warning that disturbs the user experience. The login process is now 2 steps with a mandatory second try that works. I want it to work the first time. I can't seem to find the solution plugin documentation, and niether on wordpress site.
Check the issue by enabling the debugging in WordPress
https://wordpress.org/support/article/debugging-in-wordpress/
I recently upgraded to Wordpress 5.3 with PHP version 7.2.24. After a couple hours Wordpress appears to log me out (permission based pages and widgets are not displayed). When I select to login it presents the normal Wordpress login page where I enter my username and password. When I click login the site redirects me to a page"
https://example.com/login-2/?redirect_to=https%3A%2F%2Fexample.com%2Fwp-admin%2Findex.php&action=confirm_admin_email
This page indicates that I am already logged in.
If while logged in (not waiting for the session to expire) I log out and try to login the same thing happens, it redirects me and says I'm already logged in.
After the redirect I am logged in, the issue is it is confusing users and one of the plugins we use shows users logged and until the plugin refreshes (with AJAX) it shows that I am logged in multiple times.
This happens to all users.
I have cleared my cookies.
I have checked functions.php in my parent and child themes for
anything related to cookie expiration.
I have looked for a plugin related to persistent logins.
I and checked and recreated my .htaccess
Anyone have any ideas?
My WordPress site is not accessible for external users. The only page there is should be published. It's not set to private or anything else. I checked every setting I can think of.
I'm working most of the time in Google Chrome, therefore, my Wordpress account is still logged in and I'm able to see the webpage. But when I go on safari and type in the URL. It will take me to the wp-admin login page. This is strange since the page should be published.
I'm not using an FTP server.
Any ideas?
I have a strange issue of Redirecting to the login page when i run my site for the time.
Issue is:-
When i tried to logged In to my site with correct User-Credentials it works perfectly and i can able to see my dashboard without any error(than means the Session of the User is properly generated). But, as soon as i link towards the other pages in the site it redirects me to Log In page with the RedirectURL of that page (where i have to again insert the user credential and go through the site after that no error occurs).
After Successful Logged In, I tried Log-Out and re-login than it works perfectly.
Issue occurs only once when i run the site for the first time.
Please guide me and take me out from this strange issue.
Thanks
Prashant