• dahysat

    (@dahysat)


    for wordpress multisite

    setting in dasboard manually per child site work perfectly
    but when use constant wp-config.php like bellow.. I have error when check connection

    Connection is not established. : Endpoints must be full URIs and include a scheme and host

    define(‘DOS_KEY’, ‘ZOMVDblablaTTZIWUH6VBCC’);
    define(‘DOS_SECRET’, ‘+BzRtQgmjEXblablaEIvmIvB0QHgMJMY+racW6VhnFW8’);
    define(‘DOS_ENDPOINT’, ‘https://sgp1.digitaloceanspaces.com’);
    define(‘DOS_CONTAINER’, ‘container’);
    define(‘DOS_STORAGE_PATH’, ‘/’);
    define(‘DOS_STORAGE_FILE_ONLY’, true);
    define(‘DOS_STORAGE_FILE_DELETE’, true);
    define(‘DOS_FILTER’, ‘*’);
    define(‘UPLOAD_URL_PATH’, ‘https://container.sgp1.digitaloceanspaces.com’);
    define(‘UPLOAD_PATH’, ‘/wp-content/uploads’);

Viewing 1 replies (of 1 total)
  • @dahysat

    DOS_STORAGE_PATH needs to be the URL as well.

    DOS_STORAGE_FILE_ONLY & DOS_STORAGE_FILE_DELETE should be 1

    You need to delete your KEY and SECRET as it gives anyone access to your bucket currently

Viewing 1 replies (of 1 total)
  • The topic ‘Constant in wp-config not work’ is closed to new replies.