Change the WordPress administrator user name.

One of the easiest ways to protect your site from potential hackers is to choose a custom name for your WordPress administrator or top-level administrator account. If the hacker cannot guess the user name, WP login. By publishing requests to PHP pages, it will be difficult for you to penetrate your account. This will generate additional steps because they do not need to guess your password. What happens if you do not change the administrator user name when you first create a site or network? This weekend, the WordPress project will show you how to change the default user name for single site and multi site installations by making slight changes to the database. The
The more difficult it is for hackers to invade the website, the more secure the website is. Changing the default user name is one of many good ways to make your site more secure. Database name finding a database requires a slight change. Therefore, to determine the database to edit, you must know the name of the database. WP config at the root of the WordPress file. You can view the PHP file and do this. In cPanel, select the file manager button under the files section. If the select File Manager directory pop-up menu appears, select the web root option or the document root of the site from the drop-down list. The
WP config Select the PHP file and click the Edit button at the top of the page. Find code similar to the following example. Load summary a9acf21453e480efed10f44c68f752 database name column in this example, create the third row of your_db. If you know the database name, you can change the table. In a single word press installation cPanel, click the phpMyAdmin button under databases on the home page. Select a database from the list on the left. Browse to the wp_users table. The
This is the only table that needs to be edited for a single installation of word press. Click it and look for the administrator user name in the list. If there are two or more users on the website, the list will be longer and all users will be displayed. Click the Edit button to insert values in the table options. Enter the new user name in each field that appears. At least to change the user name, you must edit the user_login field. To change how the site front end name is displayed, change the display_name field. The user_nicename field is a slug that will appear on the URL of the creator archive page, etc. The content entered here cannot contain spaces. The
It is usually the same as the login user name, but if the user name is not user-friendly, such as \
After the change, you can now log in with the new custom user name. If you use multisite, there are a few more steps to complete. To change the top-level administrator user name of the multi site installation network, complete the above steps first. When finished, locate the wp_sitemeta table in the database table list. If you change the prefix of the male table to be more customized than the default value, the \
Read. The
The list of table options is much longer than this, but the required options are usually listed at the top. Click the Edit button to the left of the row. Then change the value of the administrator user name in the meta_value field. There is no need to change other fields for this table option. Two things need to be changed: The first is the user name. The second is the character value of the user name. In the example on the load summary 776d24b82e9c9dfd9d31e8fdcec39d0, the default user name is displayed, and you need to change the admin and the number 5 displayed before the name. The user name is 5 characters, so the number 5 is listed earlier. The
If the user name is longer than 5 characters, the number may be different. Even if you have other permissions to connect to the administrator account, meta_value may display different permissions. In this case, look for the same value in the code. For example, to change the user name to heartprinted subbands 23, change the value: The load summary f977612c79561be4e7de242424190fe70 admin has been changed to the new user name and the number \
If you prefer the new user name, click go at the bottom to save your changes. If the operation is carried out according to the conclusion, the database is slightly modified and the default user name is successfully changed to the user-defined user name. This also makes it more difficult for hackers to invade websites. However, this is not the only change required to enhance site security. If you need more ways to make your site or network more secure, please restrict access to the WordPress login page to specific IP addresses, and check WordPress security essentials:obscurity tactics and backups and WordPress security essentials:building a layered defense to name only. Several. The
More useful posts can be found by entering the term \
Label: administrator user name weekend word press item

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *