input license here

Simplest WordPress domain name change today




You found a new domain name that is more suitable but don't know how to change it? WordPress? The following article of BKNS will provide detailed instructions on how to WordPress domain name change simple and easy to do. Check it out now!


The fastest way to change your WordPress domain name

The fastest guide to changing domain names in WordPress


1. Prepare before proceeding to change the domain name in WordPress


Before WordPress domain name change You will need the following information:



  • WordPress Login Information: Email, Username, Password

  • cPanel or file manager credentials

  • PHPmyAdmin Access

  • FTP login information

  • Backup all WordPress settings


2. How to change WordPress domain name


2.1 Instructions to change domain name in WordPress on admin panel


Change wordpress domain address on the admin panel is considered the simplest way. The steps are as follows:


Step 1: Login to your WordPress account


Step 2: Go to section General Settings/Settings


Instructions to change the WordPress domain name on the admin panel

Go to section General Settings/Settings


Step 3: 2 options appear Site Address/ Site address (URL) and WordPress Address/WordPress Address (URL)


Instructions to change the WordPress domain name on the admin panel

At Site Address and WordPress Address, enter the new domain name you intend to transfer


Step 4: Change these 2 URLs to the domain you want (they are the same in most cases). However, they will be completely different if you save the WordPress file in a different folder than the domain name used to access the website.


2.2 Instructions to change WordPress domain name through PHPmyAdmin


Countries change domain name in WordPress via PHPmyAdmin as follows:


Step 1: Do a backup on any other dashboard or on cPanel before changing domain name in WordPress


Step 2: Go PHPmyAdmin


Step 3: In the left column, find the data WordPress


Step 4: Click on WordPress Data


Step 5: A list of tables appears below the name of the database


Step 6: Find and select the name wp_option


Step 7: Edit 2 lines including Home and Website url into the domain name you want


2.3 Instructions to change the WP domain name by editing the file wp-config.php


To move your website to another domain by editing the wp-config.php file, you have to do it in the file manager or download and edit it and then upload it to the FTP client. Edit the line of Code that identifies the website's URL:


define('WP_HOME','http://example.com');

define('WP_SITEURL','http://example.com');

Change example.com with the domain name you want to change. This method should only be chosen when other methods have been tried without success. If you edit the file wp-config.php manually, you will not be able to edit these values ​​at General Settings on the admin panel too.


2.4 Instructions to change the WordPress domain name by editing the function.php . file


Change domain name in WordPress by editing the function.php file as a temporary solution and limited to its use as a permanent solution. The steps are as follows:


Step 1: In file function.php, add the following 2 lines of code .


update_option( 'siteurl', 'https://example.com' );

update_option( 'home', 'https://example.com' );

Step 2: Replace paragraph example.com is equal to domain name you want to change


Step 3: Upload the file after editing to the page


Step 4: Log in to the admin page a few times to update the database


Step 5: Remove 2 lines of Code after the page has accepted the change


The above article has helped you know more 4 ways to change WordPress domain name change. If you know any other better ways, please share with BKNS by leaving a comment below the article. Don't forget to visit bkns.vn regularly to update many other useful articles related to information technology services and network solutions!


Related Posts
Diệp Quân
Nguyen Manh Cuong is the author and founder of the vmwareplayerfree blog. With over 14 years of experience in Online Marketing, he now runs a number of successful websites, and occasionally shares his experience & knowledge on this blog.
SHARE

Related Posts

Subscribe to get free updates

Post a Comment

Sticky