Images broken in library and 403 Forbidden error (3 posts)

  1. jujurko
    Posted 1 year ago #

    I have some weird problem with WordPress. Clean install with new database, I tried to upload image in library but only i get is "broken image".
    In filezilla i see that images are uploaded in wp-content/uploads.

    When I upload images from library permission is set to 600. I manually changed it permission to 755 but still no success.

    Site is: http://priprema.bravarija-novak.hr/
    example with picture problem in post: http://priprema.bravarija-novak.hr/hello-world/

    Googled everything I could, i think something is wrong with .htaccess file, but cannot figure out what?

    my htaccess file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    Options +FollowSymlinks
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    Please help, I don't know what to do?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Try changing the permissions on the wp-content directory to 766. If you still have problems, try 767, 775 or 777. Once your uploads are working, change the permissions on wp-content back to 755 again and check that everything still works OK.

  3. jujurko
    Posted 1 year ago #

    Thanks for answer, but still not working, still get "broken images".
    I think that problem is, when photo is uploaded through wordpress, it is uploaded with permission 666 as you can see here


    When I change permissions, uploaded images is still broken in WordPress.

    Please help!

    [Don't bump]

Topic Closed

This topic has been closed to new replies.

About this Topic