Article 5MKCB WordPress Instances with Multiple Databases

WordPress Instances with Multiple Databases

by
awaismalik
from LinuxQuestions.org on (#5MKCB)
I am migrating the website from old server to new server for which i only have command line access to both servers. The website consists of two languages so i copied both wordpress files wordpressLanguage1 and wordpressLanguage2 files to the new server and also exported two mysql databases as exportLanguage1.sql and exportLanguage2.sql. On the new server i installed apache2, mysql,mariadb,php and configured them. In /etc/apache2/sites-available/mywebsite file at place of ServerName and ServerAlias i have placed IP of my new server to test the website. In database wp_options i also changed the siteurl and home to IP of my new server. When i search with IP of my new server it open the website of Language1 on the right side corner when i select the Language2 the IP redirects me to the old server URL. I am sure both databases are loaded and also both wordpress files are copied.Configuration at /etc/apache2/sites-available/mywebsite files are also same. For both languages website files(.conf) i have defined the same SeverName and ServerAlias 'IP' address of new server. Can any one tell me what i am missing or doing wrong? Thankslatest?d=yIl2AUoC8zA latest?i=DOiwVm_l-Vk:o6vSf45YqpE:F7zBnMy latest?i=DOiwVm_l-Vk:o6vSf45YqpE:V_sGLiP latest?d=qj6IDK7rITs latest?i=DOiwVm_l-Vk:o6vSf45YqpE:gIN9vFwDOiwVm_l-Vk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments