{"id":4616,"date":"2021-02-08T08:22:02","date_gmt":"2021-02-08T08:22:02","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=ht_kb&#038;p=4616"},"modified":"2024-10-16T09:51:13","modified_gmt":"2024-10-16T09:51:13","slug":"change-wordpress-site-url","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/change-wordpress-site-url\/","title":{"rendered":"How To Change Your WordPress Site URL"},"content":{"rendered":"<p>You probably remember setting up your WordPress URL when you installed WordPress. Or, if it&#8217;s been a while, you might not. But from time to time you may decide you need to change your Site URL. Because of the way WordPress uses the Site URL, it&#8217;s important to use the proper methods to change it, otherwise, you could break your site.<\/p>\n<h3 id=\"why-would-you-want-or-need-to-change-the-site-url\">Why Would You Want or Need To Change the Site URL?<\/h3>\n<p>There&#8217;s a lot of reasons why you might want to or need to change your WordPress Site URL. Some of them include:<\/p>\n<ul>\n<li>You&#8217;ve decided to (wisely) use HTTPS.<\/li>\n<li>You&#8217;ve changed your domain name.<\/li>\n<li>You&#8217;re moving your WordPress installation from one directory to another.<\/li>\n<li>You&#8217;re moving your WordPress installation from one subdomain to another domain.<\/li>\n<li>You started designing your site using a local server, like <a href=\"https:\/\/www.wampserver.com\/en\/\" target=\"_blank\" rel=\"noopener nofollow\">WAMP<\/a>, <a href=\"https:\/\/www.apachefriends.org\/download.html\" target=\"_blank\" rel=\"noopener nofollow\">XAMPP<\/a>, and have decided to transfer to your new web hosting, but with a different URL.<\/li>\n<\/ul>\n<p>There are some other instances where you may need to update your Site URL as well, namely if you are seeing a lot of too many redirect error messages.<\/p>\n<h3 id=\"wordpress-address-vs-site-url\">WordPress Address vs. Site URL<\/h3>\n<p>When you change your WordPress Site URL, you need to update 2 settings separately &#8211; WordPress Address and Site Address. This can be confusing if you don&#8217;t know the difference between the two settings.<\/p>\n<p>Your WordPress Address is the address\/location where WordPress and the files\/folders it requires for operation are stored, as well as your administrative pages, media files, your plugins, and themes, etc&#8230;<\/p>\n<p>Your Site Address is the publicly addressable part of your website &#8211; i.e. the URL visitors type in their browser to access your website.<\/p>\n<p>Typically, these addresses are the same, however, some users may want to store their WordPress files in a separate directory and have their website as the Site URL.<\/p>\n<p>We will cover the various methods to change your Site URL below.<\/p>\n<h3 id=\"how-to-change-your-wordpress-site-url\">How to Change Your WordPress Site URL<\/h3>\n<p>We will cover the various methods to change your Site URL below.<\/p>\n<h3 id=\"using-the-wp-admin-area\">Using the WP-Admin Area<\/h3>\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle  \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Important:<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tThis method assumes you have access to your \/wp-admin.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p><strong>Step 1:<\/strong> Login to your \/wp-admin and using the menu on the left hover over Settings and click General.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4618\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-3-535x783.jpg\" alt=\"\" width=\"535\" height=\"783\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-3-535x783.jpg 535w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-3-205x300.jpg 205w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-3-768x1124.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-3-34x50.jpg 34w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-3-41x60.jpg 41w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-3-68x100.jpg 68w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-3.jpg 851w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/p>\n<p><strong>Step 2:<\/strong> Beneath General Settings you can enter a new WordPress Address URL and a new Site Address.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4619\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-1-783x415.jpg\" alt=\"\" width=\"643\" height=\"341\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-1-783x415.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-1-300x159.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-1-768x407.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-1-50x27.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-1-60x32.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-1-100x53.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-1.jpg 871w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Using the two text boxes, you can enter your new URLs.<\/p>\n<p>Don&#8217;t forget to click Save Changes at the bottom to store the settings. You&#8217;ll also want to visit your site to make sure the new URLs are working okay.<\/p>\n<h3 id=\"how-to-change-wordpress-url-in-wp-config-php-file\" class=\"has-anchor-hash\">How to Change WordPress URL in wp-config.php File<\/h3>\n<p>The second most common way to change your WordPress URL is in your <code>wp-config.php<\/code> file. It is important to know that values in wp-config.php will override the settings in your WordPress admin panel (General Settings)<\/p>\n<p>The wp-config.php file is typically located in the <a href=\"https:\/\/chemicloud.com\/kb\/article\/document-root-cpanel\/\" target=\"_blank\" rel=\"noopener\">root directory<\/a> of your WordPress site and can be accessed via <a href=\"https:\/\/chemicloud.com\/kb\/article\/how-to-use-filezilla-to-upload-files-by-ftp\/\" target=\"_blank\" rel=\"noopener\">FTP<\/a>, <a href=\"https:\/\/chemicloud.com\/kb\/article\/log-account-via-ssh\/\" target=\"_blank\" rel=\"noopener\">SSH<\/a>.<\/p>\n<p>In your wp-config.php file, add these two lines somewhere above the line that tells you to stop editing:<\/p>\n<pre>define( 'WP_HOME', 'https:\/\/mynewdomain.tld' );\ndefine( 'WP_SITEURL', 'https:\/\/mynewdomain.tld' );<\/pre>\n<p>Save your wp-config.php file and close it.<\/p>\n<p class=\"p1\"><b>Struggling with WordPress troubleshooting? ChemiCloud is the hosting solution designed to save you time and money! <\/b><span class=\"s1\">\ud83e\udd13<\/span><b> Try our <\/b><a href=\"https:\/\/chemicloud.com\/managed-wordpress-hosting?utm_source=kb&amp;utm_medium=article#60b65e4e63b58\"><b>Managed WordPress Hosting<\/b><\/a><b> plans for just $1!<\/b><\/p>\n<h3 id=\"how-to-change-wordpress-url-with-wp-cli\" class=\"has-anchor-hash\">How to Change WordPress URL With WP-CLI<\/h3>\n<p><a href=\"https:\/\/chemicloud.com\/blog\/wp-cli\/\" target=\"_blank\" rel=\"noopener\">WP-CLI<\/a> is a set of command-line tools for managing WordPress installations, without using a web browser.<\/p>\n    \t\t<div class=\"hts-messages hts-messages--info   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tChemiCloud\u2019s WordPress hosting infrastructure supports WP-CLI out of the box.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p><strong>Step 1:<\/strong> Open up an SSH connection to your hosting account. If you are not familiar with how to do this, please review our KB on the topic <a href=\"https:\/\/chemicloud.com\/kb\/article\/log-account-via-ssh\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p><strong>Step 2:<\/strong> Once you are connected via SSH, you would use the following commands:<\/p>\n<pre>wp option update home 'https:\/\/mynewdomain.tld'\nwp option update siteurl 'https:\/\/mynewdomain.tld'<\/pre>\n<p>After you type out each command, press enter\/return on your keyboard to execute the change.<\/p>\n<p>Congrats! Using this command you will have updated your WordPress Site URLs!<\/p>\n<h3 id=\"how-to-change-wordpress-site-urls-using-phpmyadmin\">How to Change WordPress Site URLs using phpMyAdmin<\/h3>\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Important:<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tBefore using this method, be sure you create a backup of your WordPress Database in case you make a mistake. If you are not familiar with how to do that, please reference our KB article on that <a href=\"https:\/\/chemicloud.com\/kb\/article\/backup-mysql-database-in-cpanel\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.     \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p><strong>Step 1:<\/strong> Log in to your cPanel. There&#8217;s a lot of ways to do this, but the sure-fire easiest way is to log in to your <a href=\"https:\/\/lab.chemicloud.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Client Area<\/a>, then open your cPanel.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4061\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab.jpg\" alt=\"\" width=\"1674\" height=\"496\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab.jpg 1674w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-300x89.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-1024x303.jpg 1024w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-768x228.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-50x15.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-1536x455.jpg 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-60x18.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/12\/lab-100x30.jpg 100w\" sizes=\"auto, (max-width: 1674px) 100vw, 1674px\" \/><\/p>\n<p><strong>Step 2:<\/strong> Under the Databases section, click phpMyAdmin to open the utility.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4628\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-3-783x195.jpg\" alt=\"\" width=\"643\" height=\"160\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-3-783x195.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-3-300x75.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-3-768x191.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-3-50x12.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-3-60x15.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-3-100x25.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-3.jpg 1153w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p><strong>Step3:<\/strong> When phpMyAdmin opens, look for your database on the left:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4629\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-3.jpg\" alt=\"\" width=\"358\" height=\"235\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-3.jpg 358w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-3-300x197.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-3-50x33.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-3-60x39.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-3-100x66.jpg 100w\" sizes=\"auto, (max-width: 358px) 100vw, 358px\" \/><\/p>\n<p>Click the + next to the database to expand it. Once expanded, click on the wpft_options table. Note, don&#8217;t click the + next to it, just click on the name.<\/p>\n<p><strong>Your table prefix may vary<\/strong>, however, your table names will still be the same, so you&#8217;ll want to click the one that ends in _options in your phpMyAdmin.<\/p>\n<p><strong>Step 4:<\/strong> After clicking on the options table, you will see a screen that displays each row in that table. It will look very similar to the one below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4630\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-2-783x673.jpg\" alt=\"\" width=\"643\" height=\"553\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-2-783x673.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-2-300x258.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-2-768x660.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-2-50x43.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-2-1536x1319.jpg 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-2-60x52.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-2-100x86.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-2.jpg 1921w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>The rows we need to look for are at the top. Look under the column\u00a0<strong>option_name<\/strong> for the &#8216;siteurl&#8217; and &#8216;home&#8217;:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4631\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-1-783x107.jpg\" alt=\"\" width=\"643\" height=\"88\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-1-783x107.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-1-300x41.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-1-768x105.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-1-50x7.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-1-60x8.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-1-100x14.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-1.jpg 1120w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Beneath the column\u00a0<strong>option_value<\/strong> you can triple-click into the row to make the data in that column editable. After doing so, enter your new Site URL Address in <strong>BOTH<\/strong> the siteurl and home rows.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4632\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-783x247.jpg\" alt=\"\" width=\"643\" height=\"203\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-783x247.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-300x95.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-768x242.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-50x16.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-60x19.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-100x32.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7.jpg 1486w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Congrats! Using this method you will have updated your WordPress Site URLs!<\/p>\n<h3 id=\"how-to-change-wordpress-site-urls-using-wordpress-search-and-replace-plugin\">How to Change WordPress Site URLs using WordPress Search and Replace Plugin<\/h3>\n<p>The <a href=\"https:\/\/wordpress.org\/plugins\/better-search-replace\/\" target=\"_blank\" rel=\"noopener nofollow\">Better Search Replace<\/a> is a fantastic (and free!) plugin you can use to update your website URLs. This plugin is <strong>especially useful<\/strong> if you have changed your domain name entirely as it will scan your WordPress site for any mention of your old domain in your posts and pages and update the links with your new domain name.<\/p>\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Important Note:<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tThe Better Search Replace plugin is not capable of changing your WordPress Address and Site Address. The purpose of the Better Search Replace plugin is to update posts\/pages in your WordPress site after you have changed your domain name from something like, mydomain.com to mynewdomain.com.     \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p><strong>Step 1:<\/strong> Login to your \/wp-admin and using the menu on the left, hover over Plugins and in the little menu that expands, click Add New.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4620\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-4.jpg\" alt=\"\" width=\"322\" height=\"319\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-4.jpg 731w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-4-300x298.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-4-150x150.jpg 150w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-4-50x50.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-4-60x60.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-4-100x100.jpg 100w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/p>\n<p><strong>Step 2:<\/strong> Using the search in the top right corner, search for Better Search Replace, then press enter\/return on your keyboard to submit the search query.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4621\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-2-783x270.jpg\" alt=\"\" width=\"643\" height=\"222\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-2-783x270.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-2-300x103.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-2-768x265.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-2-50x17.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-2-1536x529.jpg 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-2-60x21.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-2-100x34.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-2.jpg 1918w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p><strong>Step 3:<\/strong> Locate the Better Search Replace plugin in the results and click the Install button to download &amp; install the plugin.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4622\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-2-783x573.jpg\" alt=\"\" width=\"422\" height=\"309\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-2-783x573.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-2-300x220.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-2-768x562.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-2-50x37.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-2-60x44.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-2-100x73.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-2.jpg 829w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/p>\n<p>After the plugin has downloaded, click the blue Activate button to enable the plugin.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4623\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-3-783x609.jpg\" alt=\"\" width=\"422\" height=\"328\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-3-783x609.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-3-300x233.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-3-768x597.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-3-50x39.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-3-60x47.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-3-100x78.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-3.jpg 804w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/p>\n<p>After activating the plugin you will be redirected to the Plugins page where you will see the installed plugins listed.<\/p>\n<p><strong>Step 4:<\/strong> Open Better Search Replace by navigating to the menu on the left and hovering over Tools, then click Better Search Replace.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4624\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-1-446x783.jpg\" alt=\"\" width=\"277\" height=\"486\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-1-446x783.jpg 446w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-1-171x300.jpg 171w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-1-29x50.jpg 29w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-1-34x60.jpg 34w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-1-57x100.jpg 57w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-1.jpg 605w\" sizes=\"auto, (max-width: 277px) 100vw, 277px\" \/><\/p>\n<p><strong>Step 5:<\/strong> On the Better Search Replace Screen, you have several options. Let&#8217;s review them:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4625\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-783x777.jpg\" alt=\"\" width=\"643\" height=\"638\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-783x777.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-300x298.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-150x150.jpg 150w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-768x763.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-50x50.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-60x60.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-100x100.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6.jpg 1133w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>In\u00a0<strong>Search For<\/strong> you would enter your old domain name.<br \/>\nIn\u00a0<strong>Replace With<\/strong> you would enter your new domain.<br \/>\nIn\u00a0<strong>Select Tables<\/strong> you would highlight all of the WordPress database tables you want to search and update.<br \/>\nIf your search is case-sensitive, you can check the case-sensitive box.<br \/>\nReplace GUIDs:\u00a0<strong>It is generally advised to leave this unchecked. For more info, click <a href=\"https:\/\/wordpress.org\/support\/article\/changing-the-site-url\/#important-guid-note\" target=\"_blank\" rel=\"noopener nofollow\">here.<\/a><br \/>\n<\/strong>Lastly, you have the option to <strong>run as a dry run.\u00a0<\/strong>This option will scan the database, but will not make any changes, allowing you to see what will change beforehand.<\/p>\n<p>To update your site&#8217;s posts and pages to your new domain name, enter the old domain in\u00a0<strong>Search For<\/strong> and the new domain in\u00a0<strong>Replace With<\/strong>, then uncheck the <strong>run as dry run <\/strong>box and click the Run\/Search Replace button to make the changes.<\/p>\n<p>If you enjoyed this tutorial, then you\u2019ll love our support! All ChemiCloud\u2019s hosting plans include 24\/7 support from our amazing support team.<\/p>\n<p class=\"p1\">Check out our <a href=\"https:\/\/chemicloud.com\/managed-wordpress-hosting?utm_source=blog&amp;utm_medium=article#60b65e4e63b58\"><span class=\"s1\">Managed WordPress hosting<\/span><\/a>\u00a0plans and have your website migrated today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You probably remember setting up your WordPress URL when you installed WordPress. Or, if it&#8217;s been a while, you might not. But from time to time you may decide you need to change your Site URL. Because of the way WordPress uses the Site URL, it&#8217;s important to use the&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[40],"ht-kb-tag":[],"class_list":["post-4616","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-wordpress"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/4616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=4616"}],"version-history":[{"count":8,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/4616\/revisions"}],"predecessor-version":[{"id":8518,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/4616\/revisions\/8518"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=4616"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=4616"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=4616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}