Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter roderich74

    (@roderich74)

    Hi Matthias,

    htttp://www.GolfGage.com is WORKING
    htttp://GolfGage.com is NOT WORKING

    now I defined both in the MULTI-DOMAIN SETTINGS:

    htttp://GolfGage.com –> /golf-management-using-drones
    htttp://www.GolfGage.com –> /golf-management-using-drones

    Still only WWW. version seems to work.

    Anything else I need to define or setup?

    Thread Starter roderich74

    (@roderich74)

    Hi Matthias

    seems to work now after I placed the following wp-config line as a QUOTE:

    define(‘SP_REQUEST_URL’, ($_SERVER[‘HTTPS’] ? ‘https://’ : ‘https://’) . $_SERVER[‘HTTP_HOST’]);

    to

    /*define(‘SP_REQUEST_URL’, ($_SERVER[‘HTTPS’] ? ‘https://’ : ‘https://’) . $_SERVER[‘HTTP_HOST’]);*/

    It think it overlapped with the 2 lines above it that I added.

    Thread Starter roderich74

    (@roderich74)

    @matthiaswagner

    Hi Matthias,

    are you sure? I cleared my cache on multiple browsers and tested this on multiple devices.

    GolfGage.com always shows the same page as MapGage.com (with aerial construction view in the top image showing the computer and drone and mobile devices). It should show the page with the golf related images and text.

    If you look at the wp-config.php settings I posted before the correct PHP VARIABLE should be $_SERVER[“HTTP_HOST”].
    Correct?

    Perhaps the wp-config is not well defined?

    Thread Starter roderich74

    (@roderich74)

    These are the Domain/URL related settings in wp-config.php.
    I understand this can cause some issues as these are different for each installation. Perhaps the error lies in here:

    =======START=========

    $table_prefix = ‘wp_d6974a47xx_’;

    /*
    * Handle multi domain into single instance of wordpress installation
    */
    define(‘WP_SITEURL’, ‘https://’ . $_SERVER[‘HTTP_HOST’]);
    define(‘WP_HOME’, ‘https://’ . $_SERVER[‘HTTP_HOST’]);

    define(‘SP_REQUEST_URL’, ($_SERVER[‘HTTPS’] ? ‘https://’ : ‘https://’) . $_SERVER[‘HTTP_HOST’]);

    /*define(‘WP_SITEURL’, SP_REQUEST_URL);*/
    /*define(‘WP_HOME’, SP_REQUEST_URL);*/

    =======END=========

Viewing 4 replies - 1 through 4 (of 4 total)