• 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’);

Viewing 3 replies - 16 through 18 (of 18 total)
Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Seperate files one DB’ is closed to new replies.