Support » Fixing WordPress » How to remove is front from the author structure?

  •  

    (@cor-van-noorloos)


    Hello,

    I’m currently these few line of code to rename/translate my author structure:

    function cor_rewrite_author_base() {
    	global $wp_rewrite;
    	$wp_rewrite->author_base = 'auteur';
    }
    add_filter( 'init', 'cor_rewrite_author_base' );

    However when also using a custom permalink structure the author stucture would suddenly become http://example.com/the-permalink/author/%author%/.

    This unlike the category structure.

    Would someone know perhaps how to rewrite the author base AND remove is front perhaps?

  • The topic ‘How to remove is front from the author structure?’ is closed to new replies.