Forum Replies Created

Viewing 1 replies (of 1 total)
  • Try this.

    -> sudo nano /srv/www/wordpress/wp-config.php

    Scroll down and insert these lines in the appropreat place. Don’t change any thing in these lines

    /* Add any custom values between this line and the “stop editing” line. */

    /* Override the WP_HOME and WP_SITEURL variables to get the current IP address
    * instead of retrieving it from the DB, since this is on a Raspberry Pi */
    define( ‘WP_HOME’, ‘https://’. $_SERVER[‘HTTP_HOST’] . ‘/’);
    define( ‘WP_SITEURL’, ‘https://’. $_SERVER[‘HTTP_HOST’] . ‘/’);

    /* That’s all, stop editing! Happy publishing. */

    Then reboot the systom.

Viewing 1 replies (of 1 total)