• I want to move the cache to WP_HOME not WP_SITEURL

    Your plugin and the admin tool is always relative to the wordpress directory (WP_SITEURL) not the actual WP_HOME.

    define(‘WP_SITEURL’, ‘https://’ . $_SERVER[‘SERVER_NAME’] . ‘/shop/wordpress’);
    define(‘WP_HOME’, ‘https://’ . $_SERVER[‘SERVER_NAME’] . ‘/shop’);
    define(‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/shop/wp-content’);

    Is there a way i can change this through function.php or by changing your plugin code?

  • The topic ‘Change Cache directory to home not root of site’ is closed to new replies.