Forums

$author_base mod not behaving as expected (6 posts)

  1. VirtualGilad
    Member
    Posted 2 years ago #

    Good evening, all!

    I have a site (www.SeattleBodyworkCoop.com) that requires author page URL's to look like:

    http://www.SeattleBodyworkCoop.com/practitioners/mihal-ehven/

    instead of the default:

    http://www.SeattleBodyworkCoop.com/author/mihal-ehven/

    This worked perfectly up to 2.7.1 - I changed the value of $author_base (wp-includes\rewrite.php) from 'author' to 'practitioners'.

    However, after upgrading to 2.8, even though I have again made this modification to wp-includes\rewrite.php, I get a 404 on every author (or rather, practitioner) page.

    If you visit the above named site, you will see practitioner names/links listed in the scrolling image banner at the header, as well as in the right sidebar.

    Any thoughts?

  2. VirtualGilad
    Member
    Posted 2 years ago #

    Anyone?

    I have also cross posted to the "Plugins and Hacks" forum... No spam intended, but I really do need some help on this one...

    Any thoughts/recommendations/hints would be greatly appreciated!

  3. Eric Mann
    Member
    Posted 2 years ago #

    If that's the only change you made, you shouldn't be seeing a problem. My first recommendation is to temporarily reset the permalink structure to the default (ugly) query string method (blog.com/?author=15), save this, then change it back to pretty permalinks and see if this helps.

    I've had to do this with multiple sites using customized re-write and permalink settings. If it doesn't work, then you have something else going on and I'd want to take a look at your theme files to be sure.

  4. VirtualGilad
    Member
    Posted 2 years ago #

    YOU DA MAN!!

    The permalink reset (read "reboot") approach fixed everything immediately. Coming from a Microsoft background, I suppose I should have thought of a reboot-like technique...

    :-)

    Thanks again ericmann!
    Gilad

  5. Eric Mann
    Member
    Posted 2 years ago #

    No problem! I'm glad I was able to help.

  6. do77
    Member
    Posted 2 years ago #

    Hey ericmann,

    do you also have a hint what I can do so my author permalink would not show up like this:

    http://mywebsite.com/author/username

    but instead like this:

    http://mywebsite.com/author/$curauth->display_name;

    Thanks!
    do77

Topic Closed

This topic has been closed to new replies.

About this Topic