Hi friends, I generally migrate my websites/domain manually (Not use any tools). My websites are mostly wordpress.
This is my technique. I create the new domain via c-panel settings. Inside file manager, I copy all files from old domain folder to new domain folder. Then I create new database for the new domain. Then download the old database & use notepad++ to replace old domain name with new domain name. Then upload the new database related to the new domain. Then check all fine in wp-config file like right username & passwords etc. All become fine.
This is my Question.
While replacing domain names in the database via notepad++; I noticed that there are some data related to old domain file manage path present. For example; if this is my old domain: old-domain.com. Then in the database, this file path: public_html/Old-Domain.Com is present. I tend to forget replacing it & only replace the domain names.
So should I replace the file path too?
Also is there anything else I should replace in the new database?
This is my technique. I create the new domain via c-panel settings. Inside file manager, I copy all files from old domain folder to new domain folder. Then I create new database for the new domain. Then download the old database & use notepad++ to replace old domain name with new domain name. Then upload the new database related to the new domain. Then check all fine in wp-config file like right username & passwords etc. All become fine.
This is my Question.
While replacing domain names in the database via notepad++; I noticed that there are some data related to old domain file manage path present. For example; if this is my old domain: old-domain.com. Then in the database, this file path: public_html/Old-Domain.Com is present. I tend to forget replacing it & only replace the domain names.
So should I replace the file path too?
Also is there anything else I should replace in the new database?