Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • So my hosting is also with SiteGround. I had the same error as well as unable to create directory uploads/2021/03. is its parent directory writable by the server?

    I thought I would try and solve the easier of the two problems first. Did this:

    Access your hosting file manager or FTP, and search for the wp-config.php file. It is commonly located in the root folder of your website (/public_html).
    The location of wp-config.php file
    Open the file and add the following code:
    define( ‘UPLOADS’, ‘wp-content/uploads’ );
    before this line:

    require_once(ABSPATH . ‘wp-settings.php’);
    Save the file. Now, try to upload your media files again.

    And voila, it fixed both problems at the same time. Hope this helps someone.

    • This reply was modified 3 years, 11 months ago by Mocsi.
    Thread Starter Mocsi

    (@mocsi)

    Thanks for that, I assume my wildcard subdomain must also point to the same place?

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