empty Author Base

#939668
  • Resolved محمدرضا جوادی
    Rank Math free

    Hello, I had a question.
    Is it possible to leave the Author Base option blank in the rank math plugin and change the address in this way?
    example.com/peter

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting us and bringing your concern to our attention.

    Unfortunately, it is not possible to leave the author base filed as blank. However, if you want, you can use and modify the following filter on your website and see if that works for you:

    /**
     * Allow developers to change the author base.
     *
     * @param string $base The author base.
     */
    add_filter( 'rank_math/author_base', function( $base ) {
     return $base;
    });
    

    Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how it goes. Looking forward to helping you.

    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 ‘empty Author Base’ is closed to new replies.