UNSOLVED Adding Image folder to public website
I'm new to Cloudron and am a bit lost. Moved Wordpress site from a CWP7 server. Installed Wordpress Managed app and was able to SFTP to it. The problem is, on our original server I had some image folders in the root of the website that were unrelated to the Wordpress installation. Clearly I cannot just upload them via SFTP because I cannot access them in my browser. Is there a way to add folders to root of my domain (like domain.com/auction-pics/ ) even though I'm running the Wordpress App? I know I can add the folder to the wp-content folder and get to it, but then all the custom photos we've added to our ebay auctions will have to be edited - and it's a LOT of auctions. Hope this makes sense.
Dad's Super Pawn
@tparker I think you would require the non-managed app flavor to do so. It is labeled as "developer" edition in the app library.
robi last edited by
Is there a way to add folders to root of my domain (like domain.com/auction-pics/ )
By default no, as wordpress protects it's own files.
There is a subdirectory called wp-content/ which you can add folders to and your images images.
There may be an advanced WP config parameter that let's you define a root/directory which won't be protected (denied access/listing). This can be done via the htaccess file. (do some research on how to add exceptions to the default rewrite rules)
Alternatively you can set up an images subdomain for your domain as a surfer app and configure it to host all your images in a separate way. (img.domain.com/pic.jpg)
humptydumpty last edited by humptydumpty
@tparker I tested what @nebulon suggested on my own WP "developer" website and uploading a custom folder with images works fine. The uploaded folder has "root" permission, so make sure to change that to "www-data".
By the way, I can still use WP's auto-update feature for plugins so it's not completely "unmanaged".