Seperate files one DB
-
Hello, so I have one wordpress in server, and one locally. But I want to use remote database in my local wordpress. But the problem is that it always redirects me to the remote server as the site_url in database is from online version of wordpress. Is it possible somehow to define server url in php?
I tried these but do not work. Also I have Multisite enabled.define(‘RELOCATE’,true);
define(‘WP_HOME’,’https://example.com’);
define(‘WP_SITEURL’,’https://example.com’);
- The topic ‘Seperate files one DB’ is closed to new replies.