Title: Private code not working
Last modified: August 19, 2016

---

# Private code not working

 *  Resolved [Chris](https://wordpress.org/support/users/mastertechmag/)
 * (@mastertechmag)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/private-code-not-working/)
 * Using WP 2.8.2
 * have been setting our pages to private using the WP [private][/private] codes
   on our pages. Suddenly it has stopped working.
 * When a member is signed in, and accesses a page, they get a 404 error (which 
   we changed to state they must be logged in –but already are logged in.)
 * Anyone know why the private code would suddenly lock everything out??
 * Thanks in advance for any help/advice.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Chris](https://wordpress.org/support/users/mastertechmag/)
 * (@mastertechmag)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/private-code-not-working/#post-1196243)
 * diagnostics: Turned off all plugins. Turned on one at time.
 * Result: wp-member interfering with the private code. wp-member has a private 
   code (“[private]” & [/private]”) to add above and below private sections….to 
   hide sections of site from “guests”
 * this code does not work when wp-member is not active.
 *  Thread Starter [Chris](https://wordpress.org/support/users/mastertechmag/)
 * (@mastertechmag)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/private-code-not-working/#post-1196519)
 * resolved private code situation…. however solution caused issue where ADMIN users
   can not log into website as a (general) user. ADMIN users must have a (general)
   user log in to view site…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Private code not working’ is closed to new replies.

## Tags

 * [broken code](https://wordpress.org/support/topic-tag/broken-code/)
 * [page](https://wordpress.org/support/topic-tag/page/)
 * [private](https://wordpress.org/support/topic-tag/private/)
 * [public](https://wordpress.org/support/topic-tag/public/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [Chris](https://wordpress.org/support/users/mastertechmag/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/private-code-not-working/#post-1196519)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
