Viewing 5 replies - 1 through 5 (of 5 total)
  • manojrohtela

    (@manojrohtela)

    you can do this by hlp of plugin ….and there are also function fot this…..

    add_rewrite_rule(
    ‘author/([0-9]+)/?$’,
    ‘index.php?author=$matches[1]’,
    ‘top’
    );

    try this …add this in your function.php file

    esmi

    (@esmi)

    Thread Starter Geoff_A

    (@geoff_a)

    I’m confused. Is there any way to change the author name without rewrite rules or plugins? I see all these other sites with /author/some-cool-name/ and mine is stuck at /author/admin/ (boring!). I want to change it using stock WP.

    vjpo

    (@vjpo)

    Is there any way to change the author name without rewrite rules or plugins?

    You mean a user nicename (slug). Yes, you can edit a database manually in PhpMyAdmin.
    Field to edit is user_nicename in table wp_users

    Thread Starter Geoff_A

    (@geoff_a)

    Perfect, thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to change author in URL?’ is closed to new replies.