Skip to main content

Schema কি? (What is schema?)

To add or remove a WordPress admin user using phpMyAdmin

To add or remove a WordPress admin user using phpMyAdmin, you'll need to access your WordPress database and make changes to the wp_users table. Here's a step-by-step guide:

Adding an Admin User:

  1. Access phpMyAdmin:

    • Log in to your web hosting control panel.
    • Find and open phpMyAdmin.
  2. Select Your WordPress Database:

    • In phpMyAdmin, locate and select your WordPress database from the list on the left-hand side.
  3. Open the wp_users Table:

    • Once inside your WordPress database, find and click on the wp_users table. It should be listed in the sidebar.
  4. Insert a New Admin User:

    • Click on the "Insert" tab or "Insert" button (depending on your phpMyAdmin version).
    • Fill in the required fields for the new admin user:
      • user_login: Enter the desired username for the new admin user.
      • user_pass: Enter a password for the new admin user. Make sure to select "MD5" from the dropdown menu for the password field.
      • user_nicename: Enter the display name for the new admin user.
      • user_email: Enter the email address for the new admin user.
    • Leave the ID field blank as it will auto-increment.
  5. Assign Admin Role:

    • After inserting the new user, you need to assign them the admin role. To do this, open the wp_usermeta table.
    • Look for the wp_capabilities row where the meta_key is wp_capabilities and the user_id corresponds to the ID of the new user you just added.
    • Change the meta_value to:
  6. a:1:{s:13:"administrator";s:1:"1";}
    • This sets the user as an administrator.
  1. Save Changes:

    • Click on the "Go" or "Save" button to save your changes.

Removing an Admin User:

  1. Access phpMyAdmin:

    • Follow steps 1 and 2 from the previous section to access phpMyAdmin and select your WordPress database.
  2. Delete Admin User:

    • Click on the wp_users table.
    • Find the row corresponding to the admin user you want to delete.
    • Click on the "Delete" button or icon (usually a red 'X') next to the row.
  3. Remove Admin Role:

    • Open the wp_usermeta table.
    • Look for the wp_capabilities row where the meta_key is wp_capabilities and the user_id corresponds to the ID of the admin user you want to remove.
    • Delete this row.
  4. Save Changes:

    • Click on the "Go" or "Save" button to save your changes.

Remember, making direct changes to your WordPress database can be risky, so be cautious and ensure you have a backup before proceeding. If you're uncomfortable with this process, consider using WordPress plugins or seeking assistance from a professional.

Comments

Popular posts from this blog

SEO Questions and Answers

  Zahins SEO Questions and Answers  This website is all about training.  Zahins SEO Questions and Answers will help to prepare for SEO Exam. These are the common question and answer for SEO exam. I recommend doing some extra research before taking any exam. To success you need to get clear concept of everything. specially get a very good idea about all SEO sectors like On page Off page etc.    1.    What do you use to search for exact phrases in Google? A.    Hyphen (-) B.    Asterisk (*) C.    Quotation Marks (“) D.   Exclamation Point (!) Answer:  Option C   2.    Are RSS/Atom feeds returned in Google’s search results? A.    Yes B.    No Answer: Option B   3.    An HTML sitemap provides a list of internal links on a website accessible to users. A.    True B.    False Answer: Option A   4.    What is Anchor Text? A.    It is the main body of text on a particular web page B.    It is the text within the left or top panel of a web page C.    It is

Schema কি? (What is schema?)

Schema প্রতিষ্ঠিত হয়েছে Google, Microsoft, Yahoo and Yandex, Schema.org এর developer দের একটি গ্রুপের সমন্বয়য়ে। আর এটা হয়েছে GitHub এবং https://lists.w3.org/Archives/Public/public-schemaorg/ এর সমন্বয়ে। Internet, web pages, email messages সহ এবং এর বাইরে structured data কে promote করার জন্য।  তিন ধরনের encodings ব্যাবহার করে Schema লিখা যেতে পারে।  যেমনঃ ১। RDFa             ২। Microdata এবং             ৩। JSON-LD এই তিন টির মধ্যে JSON-LD Google Recommend করে।  যে সাইট টি দিয়ে আমরা এই code সম্পর্কে জানি তা হল Schema.org এছাড়াও আরও সাইট আছে যা দিয়ে এই code generate করা সম্ভব তার মধ্যে অন্যতম https://schemagenerator.net/ এছাড়াও Google Markup tools দিয়েও করা যেতে পারে।

How to fix search console coverage error for Cart, My Account, and Checkout

  Woocommerce adds a noindex tags to certain pages. For that we receive some error on search console. Yoast try add all page for indexing where woocommerce adds noindex that's the conflict we need to resolve. One way to remove this is not set those file as index but I don't recommended because we should not index cart, my account, checkout etc. better approach is to add some code to function.php The following code snippet should help remove Cart, My Account, and Checkout  for you: if ( ! function_exists( 'wd_remove_woo_pages_from_yoast_sitemap' ) ) { /** * If Woocommerce and Yoast are enabled, we need to prevent Yoast from showing My Account, Checkout, and Cart in the sitemap * * @param $exclusions_array * @author Nick Jeffers @ Websites Depot Inc * @since * @return array */ function wd_remove_woo_pages_from_yoast_sitemap( $exclusions_array ) { // make sure Woocommerce is enabled if ( function_exists( 'wooc