WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jujurko
    Member
    Posted 7 months 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]
    </IfModule>

    # END WordPress

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

  2. esmi
    Forum Moderator
    Posted 7 months 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.
    http://codex.wordpress.org/Changing_File_Permissions

  3. jujurko
    Member
    Posted 7 months 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

    screenshot

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

    Please help!

    [Don't bump]

Reply

You must log in to post.

About this Topic