Title: Access Code URL Redirect
Last modified: August 21, 2016

---

# Access Code URL Redirect

 *  [Shanne69](https://wordpress.org/support/users/shanne69/)
 * (@shanne69)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/access-code-url-redirect/)
 * I would like to put an access code field on a page – and based on the access 
   code, it would take you to a page (url) based on that access code.
 * _For Example_ if the website is [http://www.example.com/page](http://www.example.com/page)
   has a field for the access code (or password) once you put in the password it
   redirects you to a custom page of a Url I specify?
 * Like of the password schemes were the following:
 * Password: **Granted **– It takes you to the page
    **[http://www.example.com/Granted](http://www.example.com/Granted)**
 * Or
 * Password: **OPEN **– It takes you to the page
    **[http://www.example.com/Open](http://www.example.com/Open)**
 * Anything like that exists?

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

 *  [JumboClicks](https://wordpress.org/support/users/jumboclicks/)
 * (@jumboclicks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/access-code-url-redirect/#post-4476311)
 * try the plugin members only .. see if it can do what you need
 * doing it yourself take a look at …
 * [http://codex.wordpress.org/Function_Reference/is_user_logged_in](http://codex.wordpress.org/Function_Reference/is_user_logged_in)
 * wordpress does not have that function .. forward on password provided
 * you will need to write it yourself
 *  Thread Starter [Shanne69](https://wordpress.org/support/users/shanne69/)
 * (@shanne69)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/access-code-url-redirect/#post-4476321)
 * That’s not quite what I’m looking for. I don’t want the User to have to be logged
   in or registered to be able to access the page. Kind of as simple as it sounds.
   Enter in this code. It takes you to your url based on your code.

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

The topic ‘Access Code URL Redirect’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Shanne69](https://wordpress.org/support/users/shanne69/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/access-code-url-redirect/#post-4476321)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
