Maintain folder structure. wp-content folder becomes wpcontent
-
Whenever I try to set the folder structure to be the same as default WordPress WP-Stateless removed the hyphen – from the wp-content.
For Example:
define('WP_STATELESS_MEDIA_ROOT_DIR', 'blog/wp-content/uploads/%date_year/date_month%');
On the settings page the Preview shows the correct path, but when uploaded the path becomes blog/wpcontent/uploads/%date_year/date_month%
How can I get my file path to be the same?
For example:
https://cdn.lyreka.com/blog/wp-content/uploads/2020/10/janine-robinson-uzisl-eggxq-unsplash.jpgInstead of:
https://cdn.lyreka.com/blog/wpcontent/uploads/2020/10/janine-robinson-uzisl-eggxq-unsplash.jpg
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Maintain folder structure. wp-content folder becomes wpcontent’ is closed to new replies.