Constant in wp-config not work
-
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 connectionConnection 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’);
- The topic ‘Constant in wp-config not work’ is closed to new replies.