• I have a public blog, and installed another WP for a second blog in a sub-directory for private committee reports.

    When I set password protect for the sub-directory in cpanel, then try to access the private blog, WP sends me to the 404-page not found in the main blog.

    Is there a way to change this so it would go to a log-in screen for the private blog?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I guess your Cpanel doesn’t create a correct htacess. You can try to make one yourself.

    Thread Starter PaMdora

    (@pamdora)

    Thanks! I’ll try it.

    I already have an htaccess file, so I’m assuming that I add the password code to it – does it matter if above or below the permalinks code?

    Thread Starter PaMdora

    (@pamdora)

    When I write my own htaccess file, it goes to 404 also, but think I’ve figured it out.

    When the pretty permalinks are on in the main blog, the password protect option goes to 404. When they are off in the main blog, password protect works fine.

    It doesn’t matter how the sub-blog permalinks are set. Works either way.

    Thanks, this had been bugging me for a few days.

    I moved the wp installation to a sub-directory to try to avoid this 404 problem. However, I had already set the permalinks before the move.

    Removing permalinks code from htaccess in original (top-level) folder (but leaving them intact in the new sub-directory) fixed this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cpanel password protect goes to 404 page’ is closed to new replies.