Multi Author Archive: How To Create One With WordPress And Htaccess
Let’s assume that you have a blog with multiple authors and, for some reason, you want to create a specific archive that will display the posts from 2 (or more) authors.
The first step is to retrieve the Author IDs of the authors you want to list. To do that, navigate to the
Users section of your WordPress blog and put your mouse cursor over the user information. You’ll be able to see the user ID in the status bar of your browser.
Next, you need to check your blog behavior by typing the following in your browser address bar:
Obviously, you need to edit this URL to point to your own blog, and replace 14 and 21 by the IDs of your own authors.
For the next step, you want to edit the
.htaccess file located in the root folder of your WordPress installation. (For example, for Dukeo, this folder is /public_html/.) Add the following line in your
RewriteRule ^GROUP-NAME/?$ ?author=14,21 [NC]
After saving your
.htaccess file, if you visit the url: http://yourblog.com/GROUP-NAME/, your blog will display an archive of the posts of these 2 authors.