Moderator
t-p
(@t-p)
This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.
Thread Starter
bannec
(@bannec)
Oh thank you, that sounds very helpful. I will install Healthcheck and see what comes up.
Thread Starter
bannec
(@bannec)
Before I opened the Troubleshooting tab, I noticed this:
The AUTOMATIC_UPDATER_DISABLED constant is defined and enabled.
How would I sort this one out? (I might as well do the whole thing if I can!)
Thread Starter
bannec
(@bannec)
I have been through the troubleshooting process and re-enbaled all plugins one by one. All ok. But it occured to me that viewing the site whilst logged in as an administrator the front page was automatically showing – ie no need to log in again.
Logging in on another pc only allowed me to see the site with the original problem.
Since completing the troubleshooting, and opening the website without logging in, I am directed to the registration page again.
I would be grateful for any other thoughts you may have.
That’s probably set by a define in your wp-config.php file. Check that file first. Note that if you find it there *and you did not add it*, you might ask your host if they added it and, if so, why.
Thread Starter
bannec
(@bannec)
Erm, thank you for that – I have opened the wp-config.php file (on the cloud hosting site) and found it empty! Should it be?
Nope. that’s (1) bad and (2) probably impossible. Is this the file in the root of your wordpress installation?
Thread Starter
bannec
(@bannec)
I really don’t know. On the web hosting platform I went to a folder called file manager and found a document called wp-confif.php I opened that and it was blank. Perhaps I wasn’t in the right place? (I am a novice – but you probably guessed that if you didn’t read it earlier!)
It should be in the same directory as wp-login.php, probably public_html.
In any case the page restriction is from the plugin WP Members.
I recommend asking at https://wordpress.org/support/plugin/wp-members#new-post so the plugin’s developers and support community can help you with this.
Just for the record, wp-config.php
does not need to live in the WP root directory, it can live a directory up as well. Many high end hosting sites do this, and also disable core automated updates because they run them on their own to have better failure fallbacks etc, so you may want to contact your host about that.
Thread Starter
bannec
(@bannec)
Hi there
I can’t find any other wp-config.php file. I copied all the conversation from here over to the wpmembers support section, but as yet I’ve had no response.
Is it that a wpmembers page is invading the front page or is the fault part of the front page?
Might it just be easier to create a brand new front page from scratch and simply replace the faulty one? Or am I not understanding where the problem originates from?
I’m at work today so can’t do anything else until late afternoon.
I think it has to do with wp-members, so continue there for now. Talk to your host about wp-config.php.
Thread Starter
bannec
(@bannec)
Will do, thanks for your help. I’ll let you know how I get on.