There is a lot of steps, but I gonna show you simple steps with a simple way so you can easily change your domain name. you can read this post also Moving WordPress
How To Migrate One Wordpress Domain To Another In Easy Steps:
- first steps is login to your site >>Dashboard>>setting>>general setting>> enter your new domain name here.
- Now You need to fully backup your site from the server with SQL also.
- you can change or buy new hosting plan with new domain name.
- upload all file there with SQL file also.
- Now check your website is working with new domain name. it’s working fine, but we want to redirect traffic from old site name to new.
- Then you need to find one more hosting you can also find Free WordPress Hosting Site here just simple sign up with old domain name.
- you need a .htaccess and index file to upload their and write this code there.
# REDIRECT THE SITE
REWRITEENGINE ON
# TAKE CARE OF WWW.OLDDOMAIN.COM
REWRITECOND %{HTTP_HOST} ^WWW.OLDDOMAIN.COM$ [NC]
REWRITERULE ^(.*)$ HTTP://WWW.NEWDOMAIN.COM/$1 [L,R=301]
# TAKES CARE OF TRICKSGLOBAL.NET
REWRITECOND %{HTTP_HOST} ^OLDDOMAIN.IN$ [NC]
REWRITERULE ^(.*)$ HTTP://WWW.NEWDOMAIN.COM/$1 [L,R=301]
- you need to edit this code in .htaccess file in Cpanel with you old and new domain name there.
- I have written this code two-time cause I use my site name without www. in old domain name. so if you use your site with www only write the first code.
- Simply upload an index file there.
- Now change old domain name server with new nameserver’s . you will get new nameserver from new hosting plan where you upload .htaccess file you will get name-serve in your email etc.
- After name server update successfully you old domain name working fine and you can use old and new domain name easily.
- finally you need to merge your old domain name post with new domain name.
- go to google webmaster tool and verify your new site there.
- Now There is option 301 redirects Better Read Here.
Also Read : How To Move Your Blogger To Wordpress
all done know you all old post merge with a new domain within 5 to 6 days. don’t forgot to edit you wp-config file with new database name and password.
Tags
Blogging Tricks