Custom media library location – duplicates folders


I’ve set up the plugin on my site. I’ve edited my wp-config.php to set my uploads folder to “content/media” using a define() call.

I began sorting my images into folders, but I noticed that when I refresh, all my folders are duplicated.

Clicking the “Check For New Folders” button on the left outputs this:

Scanning for new folders in /homepages/20/d4296604049/htdocs/wordpress/content/media
Adding https://myurl/content/mediages/20/d4296604049/htdocs/wordpress/content/media/case-studies
Adding https://myurl/content/mediages/20/d4296604049/htdocs/wordpress/content/media/case-studies/downham-lesiure-center

These folders dont exist on the servers filesytem. They’re getting detected by the plugin for some reason? What is going on?


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer