Viewing 1 replies (of 1 total)
  • Thread Starter Xavi86

    (@xavi86)

    One more note..

    I’ve tryied this method:

    $hostname = $_SERVER['SERVER_NAME'];
    $hostname = str_replace('www.', '', $hostname);
    if ($hostname == 'blog.iklerik.com') {
    define('WP_SITEURL', 'https://blog.iklerik.com');
    define('WP_HOME', 'https://blog.iklerik.com');
    }

    but than i receive some wordpress error establishing a database connection.

Viewing 1 replies (of 1 total)
  • The topic ‘wordpress 2.9.2 – 2 domains, 1 content’ is closed to new replies.