• Resolved pfiffus

    (@pfiffus)


    I deleted the default user admin for security reasons and created a new user. The new user does have Administrator role. I can’t give “site admin” role to the new user. Pls help! Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You get to edit the database!

    You never should have been able to delete that in the first place, and even if you did, you should ALWAYS be making the new ID first.

    Go into wp_sitemeta and look for site_admins

    In there you will see something like this: a:1:{i:0;s:5:"admin";}

    Change yours to a:1:{i:0;s:7:"pfiffus";} where pfiffus is the username of your admin, and s:7 is the length of his ID. Capitalization and stringlength matter.

    Thread Starter pfiffus

    (@pfiffus)

    Perfect. Thank you for your support. Next time I’ll take care a bit more…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lost site admin permission’ is closed to new replies.