• Resolved amypink

    (@amypink)


    Hi guys,

    the pageviews.php is created in wp-content/uploads/ although our uploads directory is set to cdn/uploads/.

    The custom directory is set in our WordPress settings as well as in our wp-config.php but nothing seems to work:

    define('UPLOADS', 'cdn/uploads' );

    and

    if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/');
    require_once(ABSPATH . 'wp-settings.php');
    update_option('upload_url_path', 'https://cdn.amypink.com/uploads');

    Do you have any solution? Thanks!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Lap

    (@lapzor)

    Could you try

    define( ‘KOKO_ANALYTICS_USE_CUSTOM_ENDPOINT’, false );

    in your wp-config.php and see if that solves this issue for you?

    Thanks for letting me know.

    Thread Starter amypink

    (@amypink)

    I added the line to my wp-config.php and now it seems to work correctly.

    Thanks for the answer and also thanks for the plugin!

    Plugin Support Lap

    (@lapzor)

    Great! I’ve still reported this issue to Danny, I guess it would be nice if he can detect this and make it work by default.

    Thanks for letting me know.

    Plugin Author Danny van Kooten

    (@dvankooten)

    This ‘ll be fixed in the next plugin update. Great find!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pageviews.php created in wrong directory’ is closed to new replies.