Just like we discussed in our previous article How to Upload WEBP Files in Sitepad where Sitepad is similar to WordPress, by default you cannot change your Sitepad username directly from the dashboard.
However, not being able to change your username through the dashboard does not mean you cannot change it forever, because you can still change your username via the database.
Is It Necessary to Change Your Username?
If you are wondering whether it is necessary, it is probably not. Why? Because as of the time this article was written, the Sitepad username is not really used for anything other than displaying a name.
Wait, the screenshot above shows that you can log in using a username, so it is not just for displaying a name, right?
That is true, you can enter a username on the login page. But in reality, even if you use a username, you cannot log in directly with it. You still need to check your email to get a login link.
Complicated, right? Personally, I do find this complicated. However, the upside is that your website is not easily hacked by brute force because you cannot log in directly with a password. You must have access to your email to log in.
How to Change Your Sitepad Username via the Database
To change your Sitepad username, you can follow these steps and make sure you do not miss any. Here, I will change a Sitepad username that was originally admin to owner.
To use this method, it is highly recommended to back up your database first, as we are not responsible if you do not perform a database backup.
Find Your Sitepad Database Name
Since we are going to change data, we obviously need to find out the database name used for your Sitepad installation first.
To find the database name for your Sitepad installation, you first need to open the file manager, either directly from your hosting or using FTP. If you want to use FTP, you can follow this method:
After that, open your Sitepad installation folder, and there you will find a file named index.php. Open that file by right-clicking it, then select the View or Edit option to see its contents.
Once the file is open, look for the line db_name to find the database name used in your Sitepad installation. In this example, the database name used is tvcnaqio_sp77.
After finding the database name, you can proceed to the next step.
Edit Database Data
Using the database name found earlier, you can now change the data in your database via phpMyAdmin or by using remote SQL. Here, we will use phpMyAdmin.
After opening the database using phpMyAdmin, open the database that matches the name found in the index.php file, then look for the table named _users and click on that table to open it.
To change the username, select the user whose username you want to change, then click edit to modify that user's data. Alternatively, you can edit the username directly by double-clicking on the user_login column for the user you selected to change the username immediately.
If you use the Edit or Changebutton, you can then enter the new username in the user_logincolumn, then click Go or Send to save the changes.
Once the changes are saved, you can check if the username has been updated via the Dashboard Sitepad > Users > Your Profile.
COMMENTS
Loading...