New Landing How can we help? Atelier Password protected pages not working

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Atelier
  • #303458
    fr_rundberg
    Member
    Post count: 30

    Hello,
    I am trying to password protect a page with WordPress´s standard solution, but it´s not working. When filling in the password, I am redirected to a “403 forbidden” page. After some searching on Google I understand that this i most likely a problem with the theme. Do you have any idea? On this page:

    http://fladievinproduktion.se/vinvan/

    there is a link on top of the page to login, and the password should be fladie-vinvan

    Best regards,

    Frida Rundberg

    #303460
    David Martin – Support
    Moderator
    Post count: 20834

    Can you activate Twenty16 and re-test.

    Thanks.

    #303465
    fr_rundberg
    Member
    Post count: 30

    Yes, it works with twenty-fifteen.

    #303466
    fr_rundberg
    Member
    Post count: 30

    I found this on WordPress forum, but I don´t know if it helps. I don´t know what to do with the information either: )

    “If the theme/plugin is not using the_content() they’d need to add their own support for password protection, which they may not have.

    So it looks like you’re using a custom template (page-members-videos.php), that doesn’t use the regular content editor. It’s likely that the template was not built to support password protection. If the template is not using the_content() to render the important content, password protection will not do anything. The template developer needs to add a check for post_password_required().

    It would something like:

    <?php if ( post_password_required() ) : ?>
    <?php get_the_password_form(); ?>
    <?php else : ?>
    Protected content/template.
    <?php endif; ?>

    #303468
    David Martin – Support
    Moderator
    Post count: 20834

    What is the password to the protected page?

    Thanks.

    #303469
    fr_rundberg
    Member
    Post count: 30

    fladie-vinvan

    #303862
    David Martin – Support
    Moderator
    Post count: 20834

    That password is invalid?

    #303865
    fr_rundberg
    Member
    Post count: 30

    I had to turn password off since it is not working and there a clients who need to use the page. If you have time to look at it now, I will turn i back on right away. Many thanks.

    #303866
    fr_rundberg
    Member
    Post count: 30

    This is the page that is password-protected

    http://fladievinproduktion.se/vinvannernas-sida/

    #304141
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    I just tried myself using Twenty Sixteen and it also displays the 403 forbidden error. Probably you tested while you were logged in.

    It could be something in your server settings or htaccess file, contact your hosting support to see what they found and let us know.

    -Rui

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register