• For some reason the front page of my website has become ‘blocked’. Result is that anyone landing on it gets the members’ registration page instead of the usual local infor etc.
    When I go to the admin for this page, the page regstriction box is set to ‘blocked’. It allows me to check the unblocked box and lets me ‘ok’ it. But then when I update the page, it reverts immediately to ‘blocked’.

    Please help. (Just a volunteer for this website, I am not ‘techie’ at all, not into coding etc.)

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • 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://www.ads-software.com/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.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    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?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    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!)

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It should be in the same directory as wp-login.php, probably public_html.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    In any case the page restriction is from the plugin WP Members.

    I recommend asking at https://www.ads-software.com/support/plugin/wp-members#new-post so the plugin’s developers and support community can help you with this.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    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.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    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.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Page restriction not working’ is closed to new replies.