DLM doesn’t upload to /dlm_uploads/
-
Ok – I’ve a fresh install of WordPress 4.9.2 on which I’ve configured the upload path options as follow:
upload_path: /path/to/domains/justan.example/public_html/media upload_url_path: https://media.justan.example/
This is what I always do on every WordPress installation just to keep uploads out of my core backup which runs via Installatron on DirectAdmin. Of course, I make backups of the uploads folder, but that’s handled via a seperate cron-job and to another location.
This leaves me with the following setup on the server:
public_html/ <- WordPress resides in here public_html/media/ <- the folder for the subdomain
When I activate Download Monitor it nicely adds the dlm_uploads folder with the index.html and .htaccess files so my structure is now:
public_html/ <- WordPress resides in here public_html/media/ <- the folder for the subdomain public_html/media/dlm_uploads/ <- the folder for DLM uploads public_html/media/dlm_uploads/index.html public_html/media/dlm_uploads/.htaccess
So far so good 🙂
However – when I upload a document via Download Monitor it goes wrong:
- the upload itself works BUT
- it doesn’t upload into
/media/dlm_uploads/
but into/media/
instead… which is of course not what one would expect / want.
Anyone any idea how this can be fixed? Perhaps via defining a constant in the wp-config.php? Or adding some lines to functions.php?
Btw – it would be wicked as well if the dlm_uploads folder could be set/renamed via a setting. I don’t necessarily want to have the _uploads in the folder name 😉
Perhaps something to consider for the next release of this awesome plugin!
- The topic ‘DLM doesn’t upload to /dlm_uploads/’ is closed to new replies.