Adding a rule to .htaccess for custom author page (5 posts)

  1. Franks
    Posted 10 years ago #

    I'm currently finishing off a WP site (http://new.crainc.com), and want to have custom bio's for team members (authors/users). I've currently got WP writing the .htaccess for me:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    But I want the author profiles to be visible whether or not the author has posted anything - therefore the current default (/archives/author/author_name) won't work as it gives a 404 if the author hasn't posted anything. Ideally, I'd like these bio's to be available at (/team/author_name) or (/author/author_name).

    Could someone please help me with an additional .htaccess rule that I need to intercept/rewrite these author requests?

    Many thanks,

  2. Franks
    Posted 10 years ago #

    This is the kind of thing I've been trying...

    RewriteRule ^author/([^/]+)/?$ /index.php?author_name=$1 [QSA]

    Any help appreciated.

  3. neeKlamy
    Posted 10 years ago #

    Just a "me too". I'd like to set up user pages, but most of my users won't be posting.

    Interestingly, the plugin, Get Author Profile http://wordpress.org/support/topic/39042?replies=12 will show all users/subscribers/authors/admin. I want to use that which would then link to individual profile pages.

  4. adminbarnhardnl
    Posted 10 years ago #

    I'm having the same problem on my websites. I am using Scott Yangs Permalink Redirect plugin 0.5.3:

    also read:

    But for some reason only the authors pages are shown and not my user pages:

    http://www.bangkoktalk.nl/alle-leden/ and http://www.ochblog.com/members/

    I see that this is not a real active page, so please comment if you've a solution.

    I'm using wp 2.0.2 and working on this problem for quite some time now. I'm not a complete noob but this bug is pretty nasty for me.

    Anyone ? :-)

  5. adminbarnhardnl
    Posted 10 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic