WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Minify didn't work if WP_PLUGIN_URL set to different domain (1 post)

  1. Abi أب
    Member
    Posted 11 months ago #

    I define WP_PLUGIN_URL in wp-config.php to different domain from my WP_SITEURL.

    define('WP_SITEURL',          'http://' . $_SERVER['SERVER_NAME']);
    define('WP_HOME',             'http://' . $_SERVER['SERVER_NAME']);
    define('WP_CONTENT_URL',      'http://static.example.com/wp-content');
    define('WP_PLUGIN_URL',       'http://static.example.com/wp-content/plugins');

    The minified CSS and javascript didn't work for files in plugins and themes directory

    http://wordpress.org/plugins/w3-total-cache/

Reply

You must log in to post.

About this Plugin

About this Topic