For the past two days I’ve been having some serious issues with my website’s front-end login. What happens, exactly, is the following:
When I try to login via the front-end of the site (kmtc.be, login at top right), I enter my credentials, and hit log in. The page refreshes, and I’m not logged in. The admin bar does not appear, and I cannot access member-only parts of the site.
When I log in via wp-admin, I can log in just fine. I go to the back-end admin dashboard. However, when I, while logged into wp-admin, browse to the main site (kmtc.be) it still shows I’m not logged in. The admin bar does not appear, I cannot access member-only parts of the site – despite being logged in. I’m thinking there’s some sort of breach between the back and front end of the site.
When I deactivate all plugins, the problem persists. When I change the theme AND deactivate the plugins, still, I can’t login. I’ve done an overwrite of all wordpress and theme files – I still cannot login via the front-end.
Help will be very much appreciated!
I just found a solution for the problem (In my case it worked)
Check your sites URL in the DB. Mine was set (when I setup the website) to the NON www version of the website.
Solution: Log into your PHPmyadmin – go to the wp-options table – find the siteURL and make sure it corresponds with your redirects or URL links.
Hope this helps for others who would encouter the same problem.
Hey!
I don’t think it was a theme issue but glad you got it sorted. Let us know if you have any other questions.
Regards,
Elliott