How to change the WordPress application domain?

In order to change the domain that your website would work with you should open your WordPress administrative area -> Settings -> General.

Under the WordPress address (URL) and the Site address (URL) fields enter the domain that you wish your application to work with and save the changes.

In this way your website will work with the newly specified domain name.

The same modification is valid if you want to add "www" to your domain.

If you want a lightning-fast WordPress website, check out our free eBook WordPress Speed Optimization Ebook! In it you will find a variety of easy-to-follow tips to improve the speed of your site!


  1. Reply June 24, 2015 / 10:58 heidiSiteGround Team

    Hi there, when I switched my hosting to siteground I somehow managed to make two admin areas for my wordpress site. They have different wordpress url's and site url's so I want to change them so they are both correct but I cannot delete them to re-do? Any ideas?

    • Reply June 25, 2015 / 09:30 Hristo PandjarovSiteGround Team

      I see that you've already opened a ticket in your Help Desk. Please, refer to it for further information on the topic.

  2. Reply October 20, 2015 / 09:57 Kevin VerlindenSiteGround Team

    Having a supportive host is the most important when conducting business online. Site Ground is the best hosting for WordPress I know. Before I did use Hostgator but they are not very knowledgeable when having issues with WordPress so if you want to use WordPress I would recommend Site Ground they have the best software and support.

    • Reply October 20, 2015 / 15:38 Ivan YordanovSiteGround Team

      Thank you for the kind words. We will continue to do our best to assist our customers:)

  3. Reply April 21, 2016 / 18:10 EllaSiteGround Team

    How do I change the site domain if I have multisite WordPress instalation?
    Also, how do I rename my site root folder without breaking the site, or move the files to a different folder?

    • Reply April 22, 2016 / 06:58 Ivan StefanovSiteGround Team

      Ella, we are in process of creating tutorials on how to change WordPress multisite primary domain and how to move multisite to subfolder. Until then, you can either ask our support for assistance or WP multisite user with a strong experience, because the modifications that needs to be performed requires changes in the database associated to the multisite:

      wp_options: you need to replace “siteurl” and “home” with the new site name

      wp_site: need to be altered accordingly

      wp_sitemeta: the “siteurl” option needs to be changed to the new site name

      wp_blogs: all occurrences in the “domains” column that have the old domain name

      wp_#_options: Each sub-site will have sets of tables that correspond to the blog_id in the wp_blogs table. You need to go to the wp_#_options table, where # corresponds to the blog_id, and update the “siteurl” and “home” settings in that table.

      Last but not least, you need to update wp-config.php file and replace:

      define( 'DOMAIN_CURRENT_SITE', '' );


      define( 'DOMAIN_CURRENT_SITE', '' );

      • Reply December 21, 2016 / 14:24 FalkSiteGround Team

        Hello Ivan,

        you wrote in 4/2016:

        "... we are in process of creating tutorials on how to change WordPress multisite primary domain and how to move multisite to subfolder. "

        Has this already happened?

        I have a WP MULTI-SITE and would like to switch it to WWW (and then use CLOUDFLARE).

        (My multi-site has only ONE parent site and NO child sites... Had planned this differently originally, but am only using 1 parent site now... still, it "sits" on a WP MULTI-SITE install...)

        Thanks for letting me know.


        • Reply January 9, 2017 / 13:24 Ivan StefanovSiteGround Team

          Falk, the article is not ready yet, but if you submit a support ticket to our advanced technical team, they will be more than happy to help you with the Multisite reconfiguration.

  4. Reply May 16, 2016 / 00:58 Boba TeeSiteGround Team

    I have a website using a web builder for and I created another website using WordPress as it's supposedly better for SEO. However, if I change the host domain from my current web site to WordPress will I lose the current SEO stats?

    Also, is the difference between WordPress SEO actually that much better than any other web builders out there?

    • Reply May 16, 2016 / 11:59 Ivan StefanovSiteGround Team

      Boba, here you can find pretty good explanation how not to loose the SEO ranking when you change the CMS. Indeed statistically WordPress SEO is better than the other apps.

  5. Reply October 20, 2016 / 17:40 YannSiteGround Team

    "The same modification is valid if you want to add "www" to your domain."

    In this case, do I need to change both WordPress address (URL) and the Site address (URL), our just the Site address (URL)?

    • Reply October 24, 2016 / 14:41 Ivan StefanovSiteGround Team

      Yann, I strongly recommend you to change both WordPress settings.

  6. Reply February 16, 2017 / 22:26 tulhaSiteGround Team

    I just changed my domain and the website is down

    • Reply February 17, 2017 / 12:00 Ivan AtanasovSiteGround Team

      The website is likely to require further modifications such as the replacement of all instances of the old domain with the new one in the database.
      You can run a search-replace using WP-Cli in order to achieve the desired result.
      Alternatively, you can contact us in a Support Ticket so that we can review this in details.

* (Required)