• Is there a way to change the uploadpath from the default value of wp_content/upload

    to a directory above wp?

    as in file structure is as follows

    /html/blog/with all wp files (relfects domain.tld/blog/)

    I would like to put abload folder in

    /html/uploads

    ist that possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter chartinael

    (@chartinael)

    it is not, has no one thought of that?

    prosec-1

    (@prosec-1)

    Moin moin!

    There is a esay way to solute the problem. Change the presets in the admin section. In german it called…

    Einstellungen -> Verschiedenes:
    ‘Uploads in folgendem Ordner speichern’ [../mediathek]
    ‘Kompletter Pfad zu den Dateien’ [https://www.realtimespacelab.com/mediathek]

    So if you use ‘/wordpress’ as a subdir it will be possible to use ‘/mediathek’ as an Imagefolder.

    Chartinael, Did you ever figure this out?

    I’ve tried pro.sec’s solution (../img), but WordPress doesn’t like that either and in the media gallery shows the url as: https://www.domain.com/wordpress/../img/content/2010/07/test-image.jpg. Apparently it takes the ../ literally!

    I figured it out. You have to set both and that took a little bit to figure it out. Here’s what I did, in case it helps anyone else:

    Settings > Media > Uploads:
    Store uploads in this folder: ../img/
    Full URL path to files: https://www.domain.com/img/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Media/Upload Path outside of WP’ is closed to new replies.