WordPress.org

Ready to get started?Download WordPress

Forums

custom slugs for author archives for each different role (1 post)

  1. robarwebservices
    Member
    Posted 2 years ago #

    Currently, my wordpress is configured to display author archives (using authors.php) at the following url:

    site/users/[username]

    I would like to be able to have different slugs for each of the different roles. E.g.

    site/subscribers/[username]
    site/contributors/[username]
    site/authors/[username]
    site/editors/[username]
    site/admins/[username]

    ...and so on. I know how to create the page templates for each, but I just don't know how to make the permalinks work this way, or how to dynamically compile the URI for each link to an authors.php page in the template.

    Any advice?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by robarwebservices
  • This topic is not resolved
  • WordPress version: 3.3.1