Trying to change author base but RankMath won’t allow it

#563805
  • Resolved Anonymous
    Rank Math free

    Hi,
    I’m using this php snippet to change /author to /member:

    // Change the author base so that author archives are available at /user instead of at the default, /author.
    add_filter( ‘init’, function() {
    global $wp_rewrite;
    $wp_rewrite->author_base = ‘member’;
    });

    When RankMath is deactivated, the the author base change to “member” works fine.

    Can you please advise on how to make this work while using RankMath. I love RankMath and would prefer to continue using it. The site is https://agadev.flywheelsites.com/

    Thank you for your help!
    Suzanne

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    We actually have the option to change your author base without adding a code. You can do that by following the steps below:

    1. Navigate to your WordPress Dashboard > Rank Math > Titles & Meta. Make sure that you have enabled advanced mode in Rank Math.
    2. Click the “Authors” tab and make sure that the Author archive is enabled.
    3. You can then change the author base in the “Author Base” field.

    Rank Math support

    Hope that helps and please do not hesitate to let us know if you need my assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Trying to change author base but RankMath won’t allow it’ is closed to new replies.