How to change domain name in wordpress?

If you just change your domain name in WordPress, you must update the database to be accessed. Surely WordPress admin page can not be accessed, because you just replace the domain name.

If you would change your domain name, do the replacement in database before setting WordPress address (URL) and Web address (URL) in settings > general.

How to change domain name in WordPress? Here’s how to rename your domain name in WordPress via the database.

Update Your WordPress database.

  1. Login to your cpanel.
  2. Search “Databases”
  3. Klik “phpmyadmin”
    login-to-cpanel
  4. Select the database WordPress name, then click + symbol.
  5. Search wp_options
  6. Thick “siteurl” and “home” then click “Change” button at the bottom.
  7. Change “siteurl” and “home” with your new domain name, and then click “Go” button at the bottom.
    change-domain-name-in-database

Update Permalink Structure

  1. Login to your WordPress admin
  2. Click “Settings”
  3. Click “permalinks”, the save changes.
    save-permalink-setting-at-wordpress-admin
  4. Done. Your new domain now live.

Last Updated on November 27, 2016 by Blog Marketing Tool Team


Sharing is caring!

PROFESSIONAL HOSTING RECOMMENDATION
Coupon code for APRIL 2021.

Hawkhost Recurring Coupon.

Service /Coupon Code
Shared
25% OFF Recurring
april2021
Reseller
30% OFF Recurring
rapril2021
Semi-Dedicated
25% OFF Recurring
sdapril2021
Order at: HERE

PROFESSIONAL HOSTING RECOMMENDATION

Coupon code for APRIL 2021.

Hawkhost Recurring Coupon.

Service
Discount
Coupon Code
Shared
25% OFF Recurring
april2021
Reseller
30% OFF Recurring
rapril2021
Semi-Dedicated
25% OFF Recurring
sdapril2021
Order at: HERE

Leave a Reply

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