• Just started using this plugin on a new site I’m building and it promises to save me a lot of time, thanx.

    I did find one problem, however. If WP is not installed at the server root, then the define()’s added in wp-config.php need to be modified accordingly, e.g.

    define('PATH', '/somedir/someotherdir');
    define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST'] . PATH);
    define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . PATH);
    define('WP_CONTENT_URL', PATH . '/wp-content');
    define('DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST']);

    Hope this helps

    https://www.ads-software.com/extend/plugins/root-relative-urls/

  • The topic ‘problem when WP is not installed at root’ is closed to new replies.