Title: [Plugin: Peter&#039;s Login Redirect] [variable]username[/variable]
Last modified: August 20, 2016

---

# [Plugin: Peter's Login Redirect] [variable]username[/variable]

 *  [tadindustrial](https://wordpress.org/support/users/tadindustrial/)
 * (@tadindustrial)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-peters-login-redirect-variableusernamevariable/)
 * Peter, I am not a developer but I am trying to use this variable url. Could you
   direct me to more information on this syntax?
 * I’d like for each of my users, after login, to be redirected to a specific page
   that is both secure and specific to that user.
 * For example, when FakeUser logs in they will be directed to “FakeUser’s Page”.
   FakeUser’s Page can only be accessed by FakeUser when he/she signs in. On this
   page I plan to put documents that only FakeUser should be able to view/download.
 * Thank in advance for the help!
 * [http://wordpress.org/extend/plugins/peters-login-redirect/](http://wordpress.org/extend/plugins/peters-login-redirect/)

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

 *  [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-peters-login-redirect-variableusernamevariable/#post-2928223)
 * Hi, there is some discussion on how to use it here:
 * [http://www.theblog.ca/peter-forum/peters-login-redirect/redirect-by-user-name](http://www.theblog.ca/peter-forum/peters-login-redirect/redirect-by-user-name)
 * But generally, you just put [variable]username[/variable] as part of your redirect
   URL and it will be dynamically replaced by the logged in user’s username.
 * As for creating a page that is only accessible to that user, the typical case
   is to use one page (and template) for that purposes. In that template simply 
   fetch the relevant content based on the current logged in user’s information,
   thus preventing the possibility that a user is viewing information relevant to
   another user.
 *  [s0206](https://wordpress.org/support/users/s0206/)
 * (@s0206)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-peters-login-redirect-variableusernamevariable/#post-2928224)
 * Hi Peter
 * I’m using your plugin which is fantastic btw but I am also trying to achieve 
   the same solution as the original poster. Could you provide a link to some further
   info regarding your last paragraph please? I am not sure how to go about it.
 * Thanks in advance.

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

The topic ‘[Plugin: Peter's Login Redirect] [variable]username[/variable]’ is closed
to new replies.

 * ![](https://ps.w.org/peters-login-redirect/assets/icon-256x256.png?rev=2597671)
 * [LoginWP (Formerly Peter's Login Redirect)](https://wordpress.org/plugins/peters-login-redirect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/peters-login-redirect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/peters-login-redirect/)
 * [Active Topics](https://wordpress.org/support/plugin/peters-login-redirect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/peters-login-redirect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/peters-login-redirect/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [s0206](https://wordpress.org/support/users/s0206/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-peters-login-redirect-variableusernamevariable/#post-2928224)
 * Status: not resolved