Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Adding Image folder to public website

Scheduled Pinned Locked Moved Unsolved WordPress (Managed)
4 Posts 4 Posters 195 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tparker
    wrote on last edited by
    #1

    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.

    T. Parker
    Dad's Super Pawn
    https://dadssuperpawn.com

    nebulonN robiR humptydumptyH 3 Replies Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to tparker on last edited by
    #2

    @tparker I think you would require the non-managed app flavor to do so. It is labeled as "developer" edition in the app library.

    1 Reply Last reply
    1
  • nebulonN nebulon moved this topic from Support on
  • robiR Offline
    robiR Offline
    robi
    replied to tparker on last edited by
    #3

    @tparker said in Adding Image folder to public website:

    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)

    Life of sky tech

    1 Reply Last reply
    1
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    replied to tparker on last edited by humptydumpty
    #4

    @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".

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.