Title: Page access by code
Last modified: March 14, 2022

---

# Page access by code

 *  [olavvg](https://wordpress.org/support/users/olavvg/)
 * (@olavvg)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/page-access-by-code/)
 * I want to make like a customer portal where you come to an page were you can 
   type an code like “1234” or something, and you get redirected to different code
   accessible page’s with different codes. Iam sorry if this isn’t clear (english
   isn’t my first language)
    -  This topic was modified 4 years, 2 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Developing with WordPress
      topic

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

 *  [a2hostingrj](https://wordpress.org/support/users/a2hostingrj/)
 * (@a2hostingrj)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/page-access-by-code/#post-15457124)
 * Have you considered an CRM plugin?
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/page-access-by-code/#post-15457220)
 * You can password protect individual pages, it’s a built in feature. The related
   page template could redirect where ever, passing a nonce with the request. The
   page at where ever could then verify the nonce before displaying content. This
   scheme would require developing a couple custom page templates to contain the
   necessary PHP code.
 * TBH, I don’t care for the password or “code” protected page feature, nor any 
   shared password/code scheme. IMO it’s better to have people log in, registering
   if necessary, and managing what they can see by role, capability, or other user
   specific property.
 * If a shared password should become compromised, you’d have to create a new one
   and distribute it to all qualified users. It’s simply poor security practice 
   to have a shared password and a PITA. But you do you 🙂 I get that people don’t
   always like registering, but it’s the best way to protect everyone involved. 
   FWIW, there are single site sign-on plugins where one sign-on works across multiple
   sites, like the “Sign in with Google” scheme you often see on sites.
 * BTW, there are [support forums in many different languages](https://make.wordpress.org/support/handbook/contributing-to-the-wordpress-forums/support-forums-in-your-language/),
   some are fairly active. You may instead post here in your native language. We’ll
   use an auto-translation service to learn what you posted. While not always 100%
   accurate, the translation is usually understandable.

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

The topic ‘Page access by code’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/page-access-by-code/#post-15457220)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
