Changing domain name

I want to move one of my new sites to a new domain name. My site has around 50 articles, i want to redirect all my articles as well as internal links. Can someone suggest me how can i do so?
Also, how bad does it affect the current ranking of site?

Hi @saurav_556

For example, let’s assume, this question is about WordPress and you are using Siteground cPanel based web hosting.

Here you go …

  • Point the nameservers to your newly purchased domain
  • Add the new unique domain as addon in the cPanel
  • Install WordPress on it
  • Install Let’s Encrypt SSL also.

Assuming, at this step your WordPress is ready with HTTPS.

  • Take backup of your old WordPress site using UpdraftPlus or All in One Migration with Domain search/replace mode.

  • Restore at new site via same plugin.

Now, to setup redirect here is the guide

If everything is working fine. You can delete old WordPress from the cPanel.

Have any more question? Please feel free to ask me.

It can have affect for few weeks. Later on, everything will be back to normal.


I tried restoring but site redirects to old domain.

To fix, define a constant in wp-config.php file with new domain.

define( 'WP_HOME', '' );
define( 'WP_SITEURL', '' );

Do search replace properly and resolve the issue.

Thanks & Regards,

1 Like

Does that also redirects all my internal links?

Of course, Yes. That whole thing is known as Wildcard redirect. :slight_smile:

1 Like