WordPress.org

Ready to get started?Download WordPress

Forums

User NAme in full URL for use in redirection (2 posts)

  1. timemachines
    Member
    Posted 2 years ago #

    I am trying to create a URL in wordpress/buddypress that calls the logged-in user name within the url so that i can redirect to a different page.

    http://www.website.com/members/USER_NAME/profile/notifications

    I need the url to insert the logged in users name so that I can redirect them to another page - from the example link above to example below:

    http://www.website.com/members/USER_NAME/activities/notifications

    Any idea?

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    See the codex on this

Topic Closed

This topic has been closed to new replies.

About this Topic