Incorrect link to zip created
-
Hi, I think the link to the generated zip file is incorrectly created. I have some settings in my wp-config that edit some wordpress variables, that have worked for more than 10 years in all plugins and sites, but with simply static, it creates an issue.
This is a snippet of the wp-config:
define('WEB_ROOT', '/data/sites/web/milkandcookiesbe/www_before_autogit/uni/');
define('PROJECT_URL', $protocol . $_SERVER['HTTP_HOST'] . '/uni/');
// Because I moved the wp-content folder
define('WP_CONTENT_DIR', WEB_ROOT . 'content');
define('WP_CONTENT_URL', PROJECT_URL . 'content');The link it then generates to the zip file is:
/data/sites/web/milkandcookiesbe/www_before_autogit/uni/content/uploads/simply-static/temp-files/simply-static-1-1750940250.zip
But it should be:
https://www.milkandcookies.be/uni/content/uploads/simply-static/temp-files/simply-static-1-1750940250.zip
It seems to use the wp_content_dir in a regular <a href>, which i don’t think can work. It should use the wp_content_url right?Best,
Tom
The topic ‘Incorrect link to zip created’ is closed to new replies.