• I’ve created a multisite on localhost, now i’m trying to upload it to a live server.
    and when i open website, link changed from example.com to localhost/example
    So I edit wp-config options
    `define(‘DOMAIN_CURRENT_SITE’, ‘localhost’);
    define(‘PATH_CURRENT_SITE’, ‘/example/’);`
    to

    define('DOMAIN_CURRENT_SITE', 'example.com');
    define('PATH_CURRENT_SITE', 'example.com');

    but i got this message “Error establishing database connection”
    Can anyone tell me how shall I make this website work?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moving from Localhost to live server’ is closed to new replies.