Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Copa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Como alterar corretamente seu nome de usuário do WordPress (3 maneiras)

Frustrado por não poder alterar seu nome de usuário do WordPress? Estamos ouvindo você.

Na WPBeginner, ajudamos inúmeros usuários a navegar pelos meandros do WordPress e sabemos que isso pode ser uma verdadeira dor de cabeça. A boa notícia é que, embora não seja tão simples quanto você imagina, existem maneiras de alterar seu nome de usuário de login.

Neste guia, mostraremos três métodos comprovados para alterar seu nome de usuário do WordPress, para que você possa finalmente se livrar do nome de usuário antigo e começar do zero.

How to Properly Change Your WordPress Username (Step by Step)

É possível alterar seu nome de usuário do WordPress?

Embora seja fácil alterar seu nome completo no perfil de usuário do WordPress, você verá uma mensagem informando que os nomes de usuário não podem ser alterados.

You Cannot Change Your Username from Your WordPress User Profile

Isso pode ser frustrante e confuso para usuários iniciantes do WordPress. A boa notícia é que há várias soluções alternativas para alterar seu nome de usuário de administrador do WordPress e outros nomes de usuário.

Este artigo mostrará três maneiras de alterar seu nome de usuário no site do WordPress. Você pode usar os links abaixo para ir para o método que deseja usar:

Método 1: Criar um novo usuário e excluir o antigo (sem plug-in)

A maneira mais fácil de alterar seu nome de usuário do WordPress é criar um novo usuário com o nome de usuário desejado e com a função de administrador.

O único problema é que você precisará usar um endereço de e-mail diferente daquele usado pela sua conta atual.

Observação: Se você estiver usando o Gmail, poderá inserir um sinal de mais (+) com letras adicionais após o nome de usuário.

Por exemplo, se o seu endereço de e-mail for myname@gmail.com, você poderá usar o endereço de e-mail myname+wordpress@gmail.com. Ele ainda será enviado para a mesma caixa de entrada de e-mail, mas o WordPress o considerará um endereço de e-mail separado.

Add a New WordPress User

Depois de criar a nova conta, você precisa sair da sua conta do WordPress e fazer login com a nova conta de usuário que acabou de criar.

Em seguida, vá para a página Usuários ” Todos os usuários na área de administração do WordPress e clique no link “Excluir” abaixo do seu nome de usuário antigo para removê-lo.

Delete Your Old Username from the Users Page

Quando você excluir o nome de usuário antigo, o WordPress perguntará o que você deseja fazer com qualquer conteúdo criado por esse usuário.

Certifique-se de clicar na opção “Atribuir todo o conteúdo a” e, em seguida, selecione o novo usuário que acabou de criar.

Assign Any Posts Belonging to the Old Username to the New Username

Depois disso, clique no botão “Confirm Deletion” (Confirmar exclusão) para excluir a conta de usuário antiga.

Parabéns, você alterou com êxito seu nome de usuário do WordPress. Se quiser usar o mesmo endereço de e-mail de antes, poderá alterar o endereço de e-mail do novo usuário.

Método 2: Alterar o nome de usuário usando um plug-in

Outra maneira simples de alterar seu nome de usuário do WordPress é usar um plugin. Se você estiver preocupado com o uso de muitos plug-ins, podemos garantir que poderá excluir o plug-in com segurança depois de alterar o nome de usuário do WordPress.

A primeira coisa que você precisa fazer é instalar e ativar o plug-in Easy Username Updater. Para obter mais detalhes, consulte nosso guia passo a passo sobre como instalar um plug-in do WordPress.

Após a ativação, basta acessar a página Usuários ” Atualizador de nome de usuário e clicar no link “atualizar” ao lado do nome de usuário que deseja alterar.

Username Updater List of Users

Agora, basta digitar o novo nome de usuário e clicar no botão “Update Username” (Atualizar nome de usuário).

Se quiser notificar o usuário sobre a alteração, certifique-se de marcar a caixa “Send User Notification” (Enviar notificação ao usuário) primeiro.

Username Updater Update Username Screen

Isso é tudo! Agora, você pode remover o plug-in do trocador de nome de usuário do seu site.

Método 3: Alterar seu nome de usuário do WordPress com o phpMyAdmin (avançado)

Esse método é um pouco complicado, pois exige que você faça alterações diretas no banco de dados do WordPress.

Recomendamos que os usuários evitem fazer isso, se possível, pois é fácil cometer um erro e causar erros no seu site WordPress.

No entanto, em alguns casos, talvez você não tenha essa opção, como quando esquece seu nome de usuário e endereço de e-mail do WordPress e é bloqueado na sua conta de administrador.

Primeiro, você precisará fazer login no painel de controle da hospedagem na Web para localizar o menu phpMyAdmin.

Neste exemplo, estamos usando o Bluehost. Seu painel poderá ter uma aparência diferente se você estiver usando um host diferente que não use o cPanel, mas a opção phpMyAdmin ainda deverá estar disponível.

Quando estiver no painel de controle da Bluehost, vá em frente e navegue até a guia “Websites”. Em seguida, selecione um site e clique no botão “Settings” (Configurações).

Bluehost site settings

Agora, role para baixo até a seção Quick Links.

Depois disso, basta clicar em “phpMyAdmin”.

Navigating to the phpMyAdmin in Bluehost

Isso iniciará o phpMyAdmin em uma nova guia do navegador.

Você precisará selecionar o banco de dados do WordPress, se ele ainda não estiver selecionado.

Choose Your WordPress Database in phpMyAdmin

Agora você verá as tabelas do banco de dados do WordPress. Por padrão, as tabelas do banco de dados do WordPress usam wp_ como prefixo antes do nome de cada tabela. É possível que você tenha alterado o prefixo do banco de dados para outra coisa.

Você precisa clicar na tabela wp_users no lado esquerdo. Em seguida, clique em “Edit” (Editar) ao lado do nome de usuário que deseja alterar.

Edit the Desired Username in the wp_users Table

Agora, você poderá digitar o novo nome de usuário que deseja usar no campo user_login.

Quando terminar, você precisará clicar no botão “Go” (Ir) na parte inferior da tela para salvar o novo nome de usuário.

Enter a New Username in the user_login Field

Isso é tudo! Agora, você deve conseguir fazer login no painel com seu novo nome de usuário.

Saiba mais maneiras de gerenciar usuários do WordPress

Deseja mais dicas e truques para gerenciar suas contas de usuário do WordPress? Aqui estão outros artigos que você pode ler para começar:

Esperamos que este tutorial tenha ajudado você a aprender como alterar corretamente seu nome de usuário do WordPress. Talvez você também queira ver nosso tutorial sobre como alternar instantaneamente entre contas de usuário do WordPress e nossas escolhas de especialistas dos melhores plug-ins para gerenciar um blog WordPress com vários autores.

Se você gostou deste artigo, inscreva-se em nosso canal do YouTube para receber tutoriais em vídeo sobre o WordPress. Você também pode nos encontrar no Twitter e no Facebook.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que, se você clicar em alguns de nossos links, poderemos receber uma comissão. Veja como o WPBeginner é financiado, por que isso é importante e como você pode nos apoiar. Aqui está nosso processo editorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

O kit de ferramentas definitivo WordPress

Obtenha acesso GRATUITO ao nosso kit de ferramentas - uma coleção de produtos e recursos relacionados ao WordPress que todo profissional deve ter!

Reader Interactions

109 ComentáriosDeixe uma resposta

  1. Syed Balkhi

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Anjan Lohar

    Thank you for this, super easy. I’m always like to change my user name using 3rd method.

  3. kathy

    Thank you for this, super easy.

    • WPBeginner Support

      Glad you found our guide helpful :)

      Administrador

  4. Layla Turner

    Thank you so much for this post! The ‘add new user’ then ‘delete old user’ & ‘attribute to new user’ worked for me.
    And I now have the plugin which also works.

    FYI – when I changed the email address after adding new user, it took aaages for the confirmation email to come through to my Gmail from Wordpress.

    • WPBeginner Support

      Glad it worked, setting up SMTP can also help with email deliverability if someone hasn’t set that up yet.

      Administrador

  5. Desmond Diangha

    Wow, this is just awesome, and any other article i have read here is just so great and very useful. I just succeeded in adding a new user for my website after reading this article thanks a lot….

    • WPBeginner Support

      You’re welcome, glad our guide was helpful :)

      Administrador

  6. Rahat

    That was really helpful. I was searching for the solution and some websites suggest to install a plugin, which is not the best solution for me,
    because that would make my site slower.
    Since I am familiar with PHP, so it would be better to use PHPMyAdmin in Cpanel.
    And that’s what I did with the help of this article.
    Thanks

    • WPBeginner Support

      Glad our article could help, in general a plugin should not slow down your site unless it is poorly coded.

      Administrador

  7. Kendall Watson

    Thank you for this post. After attempting the cpanel method, which didn’t work, I found this and the plugin suggestion did work.

    • WPBeginner Support

      Glad our guide was able to help :)

      Administrador

  8. Dharmendra

    I tried method 1 but it did not work, then tried method 2 and it worked. Thank you so much :)

    wpbeginner is a rock. Every time I get a solution.

    • WPBeginner Support

      Glad our guide was able to help :)

      Administrador

  9. Tom Llobet

    NEVER USE “admin” or the domain name as a user, this is the first thing hackers use to get access to the backend.

    • WPBeginner Support

      Thanks for sharing this, we agree that users should avoid using the username admin

      Administrador

  10. Van

    Using phpMyAdmin worked like a charm for me. I wanted to change my username because I discovered while perusing Wordfence brute force activity on my site that my username had been used by a hacker.

    • WPBeginner Support

      Glad our recommendations could help :)

      Administrador

  11. Stef

    Doing it in the database won’t wipe anything out like their orders if WooCommerce?

  12. Daniel

    Thank You! php way worked perfectly!

  13. Bonkarah

    Appreciate the info given here. I was able to use PhpMyadmin to change the user name. But on logging in to my Wordpress site, the info on my dashboard is so limited. The new username that was there before i deleted the wrong one with Admin role had Author’s role. Could this be why I am not granted full access to my editing dashboard where I could add more users and edit normally?

    Somebody help me out here. How do I get back to my full dashboard editing suite and change my role to Admin?

  14. Jake

    Why won’t your website let me create an account? When ever I try it says to try again with no explanation.

    • WPBeginner Support

      Hi Jake,

      Where you are trying to sign up? If you are trying to join WPBeginner Videos, then we just tested the form its working fine.

      Administrador

  15. Linda Groeneveld

    I have used the plugin ‘username changer’ and now my account is gone?! What happend and how can I undo this?

  16. Kimberly

    Thank you so much. You just saved my laptop from going through a window. :)

  17. Tyler

    I tried doing this to edit the nice-name attribute, so I don’t leak my user name on the Author’s page, and now my site only shows: Error establishing a database connection. Even after re-naming the field to its original value it doesn’t fix it. Any suggestions?

  18. Jenny Zentz

    Thank you! Finding so much help for setting up my new WP account. I’m transferring an existing blog from Blogger. (And existing Google domain.) Any things you’ve already done on that would be great!!! I’ll be searcher your site a lot!

  19. kari

    just successfully used the plugin to change my user name – it was really easy then just deleted the plug in – really really useful – thank-you

  20. Naman

    Hi i can not find username changer under users

    • Ripunj

      You can simple do this without the plugin. You have to create a user, and for that you have to click on Add New button in the Users section, input the username whatever you want to and then assign the role of it to Administrator then log out. Now log in using newly created username and go into the same section that is Users and now can simply delete the old admin user.

  21. Heather

    Hi There. It did seem to work, but it did not attribute all the content. So my bio, my social media links, and Gravatar photo are gone. I can’t figure out how to get all that back.

  22. Colin Crawford

    Hi
    I can’t get this to work, I have tried other tutorials and they say just the same.

    I am in the right database as there is only one and I have edited the old admin username that was originally set up i.e. admin and it won’t allow me to login.

    In the database it has clearly changed but when I try to login it won’t allow me. So using the old admin username gets me back in but how? it has been changed it doesn’t exist anymore….

    If I view the Users in WordPress my new username is not there so where is it getting these details from?

    I am truly baffled.

    Colin

    • Gary Armstrong

      You may want to try changing the password to your admin user within wordpress. It would be good to have another temp Admin level user in WP as a backup.

      If you’re using phpmyadmin, open the password field, choose a new password and IMPORTANT! choose the MD5 function (or this will NOT work).

      Once you change the password, try logging in to your old username account. Try doing this in Incognito mode in Chrome so you have NO cookies set. It shouldn’t let you login. If it IS still logging in, double check you’re in the right DB. I know you said you were, but check the wp-config.php file anyhow.

      Extra hint. If you don’t want to setup another email address, and you use Gmail, you can add a + to the end of a gmail address and it will go to the same mailbox: e.g.

    • Colin Crawford

      Hi
      Thanks for the reply Gary, I ended up deleting everything on that domain name as it had other WordPress installations so somewhere it went wrong.

      Once I did this the information in the tutorial worked but it was so frustrating why it didn’t.

      Good job I only used that domain name for testing websites.

      Cheers

      Colin

  23. Anyaogu Ikechukwu

    Hello. I thank you for sharing this article. I want to know if it is necessary to change your username after installing WordPress

  24. Brigitte

    thank you thank you. When I am in troubles I always find a helpful answer in your website. Kind regards!!

  25. Melissa

    How do I even find my cPanel login details? My site is hosted by GoDaddy but built on Wordpress, and the GoDaddy account belongs to my editor. I keep asking him if he can find out but it’s been weeks now. My website was restored by someone else who had another kind of access point, but I need that login. How exactly do I find out those details because my Wordpress login isn’t the same.

  26. Ted

    it won’t work. i added a new admin (while still keeping the old), but when i log out, it won’t log me back in using the new admin and password (which i didn’t change!). not sure what to do now. help!

  27. Val

    I used the first method and I am unable to delete the other user. Has anyone run into this issue? Now that I have another user with the username I actually want I am concerned that I can’t move on to method 2 or 3 because the username is already in use.

  28. Sarah Sullivan

    Hi, My site is still under construction, when I was setting it up I followed the steps I had printed out instead of listening to the audio too. I only realised afterwards that I shouldn’t have used my real email address as the username as this will be visible once I start posting. Which method above would you recommend I follow to make the necessary change as I haven’t yet got any content to worry about losing?
    The other thing I keep getting really confused about is when I am asked for my email address do they mean my real one or the one that is part of website that I would like to handle?

    Thanks
    Sarah

    • WPBeginner Support

      Sarah you can add as many users account to your WordPress site as you want. Simply go to the Users page in admin area and then click on add new. You can add users with different roles like administrator (site owner), editor, author, etc. If you are the only one using your site, then a user with administrator role is all you need. After you have created a user name that you like, feel free to delete the old one that you do not wish to use anymore.

      The email address they ask will be used to send you notification emails. It has to be any existing email address that you already use.

      WordPress itself is not an email client and it will not create an email address as part of your website. If you want to have a branded email address with your own domain name like sarah@example.com, then see our guide on how to setup a professional email address with Google Apps and Gmail

      Administrador

  29. Niaz Khan

    Thank you, admin, after reading your blog I have successfully changed the usernames of my blog bestcmsplugins.com ,

    You are doing a great job by helping others

  30. Kellie Grace

    This was so quick and simple! Thank you so much!

  31. Julio Falconi

    I did it and when i went on my new account it doesn’t show users tab or any other tabs

  32. Angel A.

    Thank you so much! The first method worked flawlessly.

  33. Alan Cox

    At last someone who really makes it easy. Well done and thank you.

    • ERic

      Thank you. The Plugin worked perfectly

  34. Vijay

    Thank you so much for this article. I took the phpMyAdmin route and it worked… But, before it started working it did this weird thing where if I entered the url of the user’s profile it took me to the home page.

    But then in the end it worked. Probably because I saved the profile from wp-admin after having changed the user_login and the user_nicename values from phpMyAdmin?

  35. Daniel Taylor

    That’s for the great advice. The plugin was the most easiest way.

  36. madivad

    Too many places to reply so I’ll create a new comment.

    I’m one of those people that don’t like to just add another plugin (even if I can remove it afterwards) and so even after reading about the create new user/delete user/migrate posts method, I liked the phpmyadmin method.

    But it does cripple multisite installs and you really should update the main post about that.

    For anyone who does do it the database way, you have to go into your sitemeta table and update the superadmin user with the new username and character count in the S:flag.

    Otherwise, the create/delete/migrate method might actually be a better option :)

    • Cassy

      Here is the way I did it – very quick and easy, took me less than 5 minutes to do:
      1. Go to users
      2. Click on the user name you want to change
      3. Above the “Update Profile” button, there will be text that reads “Were you looking for your API Key and other Personal Settings”. The ‘API Key and other Personal Settings’ text will be highlighted (as it is a link).
      4. Click on this highlighted text.
      5. Scrolls down the page to the heading “Account Details”
      6. Just under “Account Details” will be ‘User Name’
      7. You will see next to your user name there will be the word ‘Change’ in brackets, also in highlighted text (indicating it is a link).
      8. Click on this text to change your user name.
      9. Don’t forget to save
      10. You can change all other linked settings from here, such as BLOG NAME, PRIMARY BLOG, etc,

  37. Traci

    Hello,

    Thanks for the article! Out of curiosity, would a change of my WP login username prompt a DISCONNECT to wordpress.com jetpack stats and tools?

    I’m asking b/c today, I changed it (due to tireless notifications of site lockout attempts from….who knows?), and now my jetpack stats are all screwy and wordpress.com no longer recognizes my website. I’m getting this error message:

    unknown_token: It looks like your Jetpack connection is broken. Try disconnecting from WordPress.com then reconnecting.

    But no further instructions on what to do. Love to know your thoughts.

    Thanks! LOVE your all of your content!

  38. Chris

    A word to the wise, from someone who wasn’t. Using that plugin can be fatal to a multisite setup. Multisite does not allow the user name of the superadmin to be changed. And there is no warning about this on the plugin site. But because the plugin just twiddles with the name fields of the database it gaily ignores this. So if you use it, be prepared to lose all access to the network. This might not happen if the name you change it to happens to have the same number of characters as the name you are changing from. I am not about to prove this point though, once bitten and all that. The remedy is then only direct editing of the database to restore precisely, and I do mean precisely including cap and lower case usage, what was there before.

    • Miha

      Hi,

      i successfully changed username on the multisite installation.

      I have changed username directly in sql database.

      First of all backup your db.

      You have to change username in tables:
      _users in fields: user_login and user_nicename
      _usermetadata field nickname and
      _sitemeta field site_admins

      in the field site_admins be careful to change the name admin and number of letters before admin in variable s:5
      admin username has 5 letters, change it to number of letter in your new name

      Delete cookies in browser, login again to your WP admin and you have network access with your new username

  39. Frank

    Does it make sense to change the user ID as well?

  40. Bob The Builder

    Here is something odd that I’ve noticed today.

    I did not like it that my (admin) username was visible in the author URL. So I decided to create a new user with author role and since I’ve made this new user the author URLs are the same as the screennames.

    So now I can use my admin account again since the screenname is visible in the URLs and not my actual username.

    Any explanation for this?

    • WPBeginner Support

      WordPress uses the username in the Author URLs. If the admin user still has posts then their author URL will still appear on those posts. You can assign those posts to new author account you created and set a redirect for the admin url.

      Administrador

  41. Paul Okeke

    Everything about WPbeginner.com is awesome. This article and all I have come across from the same source worked for me. Just want to say a big thanks to wpbeginner.com editorial saff. Cheers!

  42. Adriana

    Would the process “Create a New User and Delete The Old One” work properly from network admin area on a multisite installation?

  43. MattFromGA

    This change may or may not be a big problem for a given wordpress site based on the plugins and theme it is using. What if there is a plugin that uses an external system that associates data with username? The simple change outlined here would fail to update that username in the external system and the association between the user and that external data would be broken with this change. What about forum posts in bbpress where a user mentions another user by username?

    I guess a basic wordpress blog install wouldn’t have too many problems with this, but beyond that you better have awareness of the other plugins and theme dependencies on username. If none, this simple change could be fine.

    • Rose

      Yes And we’ve seen this week where this all can lead to. Patching up plugins, fixing holes, hoping the theme has no holes, then after seeing the notorious scammers all have the name, changing username etc. But luckily we can change the name. There’s no other option when all is leaked out. Yes security. Having a good security plugin. Securi I found too difficult to understand. Anyway, there are certainly more problems to fix soon.. boy oh boy.

  44. Braham Dutt Sharma

    Hi, I want change my existing blog authority in another login id example: i make 5 blog with my own id and now i want change 1 blog login and password with another email is , can this possible , if possible please help.

  45. Tyler

    There is nowhere else it needs to change. Everything is attributed to the ID of the user, not the username. It’s just a text field like email, first_name etc.

    • MattFromGA

      So you have a certainty that ever plugin and theme written for wordpress follows that guidance? What about plugins that share username with external systems which make data associates with that?

  46. adeem jan

    Yet another informative tutorial from you

    Let me tell you honestly, I am totally the non-techie so I had NO idea about how to change the admin username till some time back – nor do I visit the C-Panel – I fear those places…lol…

    My friend takes care of the tech aspects, though I’ve learnt it all now and thanks to you all of you tech bloggers sharing your posts here, I keep learning each day!

    Yes, for security reasons, you need to change the usernames, more so with the number of cases of hackers all over the web. Better to be safe than sorry later.

    Thanks for sharing.…. keep up the good work…

  47. Jatin Chhabra

    Well the 1st ine didn’t work but the 2nd one did…

Deixe uma resposta

Obrigado por deixar um comentário. Lembre-se de que todos os comentários são moderados de acordo com nossos política de comentários, e seu endereço de e-mail NÃO será publicado. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.