WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Password Protection Fails (2 posts)

  1. bethellyn
    Member
    Posted 2 years ago #

    Problem:
    I password protected a page and after submitting the correct password, it reloads the password submission page, rather than redirecting to the content. Effectively acts like ...

    Just to save you some time...
    -This is true for posts as well as pages
    -This is true no matter which theme I activate
    -This is true even if all plugins have been, not just deactivated, but deleted
    -This is true on MAC Safari, FF and Chrome
    - F5 after password submission does not load the page (another post mentioned this)
    - This page displays perfectly if password protection is removed
    - I am not interested in password protecting the whole blog, as most plugins offer, I just want to lock down this one page and its children - preferably using WP's basic functionality.

    I suspect the issue may be that this blog is in a sub-directory, and not the root directory, but after some mucking about with .htaccess, wp-pass.php and wp-load.php, its just not clear to me which files need to be altered to make this work.

    Does someone know how to make this work? Or even just why it's breaking?

  2. bethellyn
    Member
    Posted 2 years ago #

    Solved it. Had to do with it being a subdirectory install.

    My setup was something like this:
    WordPress address (URL): mydomain.com/blog
    Site address (URL) issue: http://www.mydomain.com

    The '/blog' part was not the issue. The fact that there were differences in the domain name ('www') completely threw the referer, I think.

    Written this way, it works fine.

    WordPress address (URL): http://www.mydomain.com/blog
    Site address (URL) issue: http://www.mydomain.com

Topic Closed

This topic has been closed to new replies.

About this Topic