Forums

get_author_posts_url simple rewrite (1 post)

  1. zyrq
    Member
    Posted 3 years ago #

    I tried and tried and tried and tried to get this simple rewrite to work (pretty permalinks on):

    URL example.com/editors/johndoe ->example.com/author/johndoe
    URL example.com/members/janedoe ->example.com/author/janedoe

    I just want the words editors and members replaced with the standard author_base of author. How?
    A different version of function get_author_posts_url?
    A filter? Extra query_vars?
    I'm about to give up on this one.

Topic Closed

This topic has been closed to new replies.

About this Topic