• 1) Under /wp-admin/options-media.php i can change the upload dir, but it´s not posibile to use an folder outside wp-content?

    2) If i inset an image via /wp-admin/media-upload.php and recall it, the path of the image is /wp-content/uploads/ whatelse i set up under 1)

    Greetings
    Chriss

Viewing 2 replies - 1 through 2 (of 2 total)
  • What’s up Chriss? Did you ever figure this out? I can’t seem to access any media that I’ve uploaded to the wp-content/uploads file. Can you share anything helpful?

    Thank you, bro!

    Alwyn Botha

    (@123milliseconds)

    I have found the solution for this.

    Settings -> Miscellaneous
    Do both of the following:

    Store uploads in this folder -> absolute path to folder you want to use
    Example: /home/user/public_html/images

    Full URL path to files -> actual URL of folder you want to use
    Example: http://www.example.com/images

    Note: As shown in the examples above, do not use a trailing slash.

    How to find your absolute path:
    Using a text editor (such as Notepad), copy and paste the following code, and save it as path.php

    <?php
    $p = getcwd();
    echo $p;
    ?>

    Upload path.php to the folder you want to use, then open it in a web browser (example: http://www.example.com/images/path.php). It will display your absolute path.

    from yarntomato
    Posted 2 years ago

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Upload folder outside wp-content’ is closed to new replies.