Title: using s2member replacement codes elsewhere
Last modified: August 31, 2016

---

# using s2member replacement codes elsewhere

 *  [andywells001](https://wordpress.org/support/users/andywells001/)
 * (@andywells001)
 * [10 years ago](https://wordpress.org/support/topic/using-s2member-replacement-codes-elsewhere/)
 * Hello
 * I am using s2members and for my special redirection url I am using one of their
   offered replacement codes which looks something like this: [http://www.example.com/%%current_user_login%%-account-page](http://www.example.com/%%current_user_login%%-account-page)
 * My question is:
 * How do I create a link outside of s2members that will have the same function.
 * I would like users to be redirected to their account pages when they click this
   link. I have tried using the s2members replacement code in a normal link and 
   it will come up with bad request. I’m assuming these replacement codes only work
   directly through s2members.
 * Any help is much appreciated!

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years ago](https://wordpress.org/support/topic/using-s2member-replacement-codes-elsewhere/#post-7346252)
 * I recommend asking at [https://wordpress.org/support/plugin/s2member#postform](https://wordpress.org/support/plugin/s2member#postform)
   so the plugin’s developers and support community can help you with this.
 *  Thread Starter [andywells001](https://wordpress.org/support/users/andywells001/)
 * (@andywells001)
 * [10 years ago](https://wordpress.org/support/topic/using-s2member-replacement-codes-elsewhere/#post-7346261)
 * Its a feature in s2members that I am looking for in HTML ir a wordpress plugin.
   Not so much a question of the plugin s2members.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years ago](https://wordpress.org/support/topic/using-s2member-replacement-codes-elsewhere/#post-7346275)
 * Right, and that’s where you’ll find the people who know how s2member works.

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

The topic ‘using s2member replacement codes elsewhere’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/using-s2member-replacement-codes-elsewhere/#post-7346275)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
