I can't see images on wp-content/images on wordpress, why?

Posted December 31, 2014 12.4k views

Hello, in my site, i can’t see images, why?
Opening a image i have this error:
“Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.”


  • have you checked permissions?

    sudo chown -R www-data:www-data /var/www

    do you have any sort of custom .htaccess rules that might be blocking certain file types?

  • For Ubuntu and apache server, the log file is usually in /var/log/apache2/error.log

  • @Polv89

    An ISE is generally permissions related, though a bad .htaccess file will cause one to be thrown as well. To check if it’s an .htaccess issue:

    1). Delete the .htaccess file
    2). Log-in @ /wp-admin/
    3). Click on Permalinks from the side menu
    4). Click submit to save changes (you don't have to change anything)

    This will regenerate a brand new .htaccess file for you. If plugins such as W3 Total Cache are active, you may need to head back to their options panel and simply click save there too just to make sure their rules are applied, but once this is done, if you’re still not able to access a file or directory, it’d be time to see what permissions are set.

    Specifically, I’d make sure the folders are writable by the user/group, but not world writable (i.e 777). I’d also check to see if you’re able to install a plugin direct from /wp-admin/. If that fails too, it’s definitely an issue with permissions.

    At the CLI, run:

    ls -al

    ..on the directory you installed WordPress to. That’ll give you some details as to what your persmissions are set to, what user and what group.

    It’ll look something like:

    user@hostname:~# ls -al
    total 36
    drwx------  4 root root 4096 Dec 31 12:45 .
    drwxr-xr-x 21 root root 4096 Dec 31 11:21 ..
    -rw-------  1 root root    0 Oct 23 10:26 .directory
    -rw-r--r--  1 root root 3105 Oct 23 10:23 .directory
    drwx------  2 root root 4096 Oct 20 17:26 .directory
    -rw-------  1 root root 2999 Dec 31 12:32 .directory
    -rw-------  1 root root  331 Dec 31 13:24 .directory
    -rw-r--r--  1 root root  140 Feb 19  2014 .file
    -rw-------  1 root root 1024 Dec 31 12:07 .file
    drwx------  2 root root 4096 Dec 31 11:21 .wp-config.php

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

i have spent hours with this problem..i'have solved renaming .htaccess on /uploads folder
now it works :)

  • You shouldn’t need an .htaccess file in the /uploads directory (or really any directory other than the root installation directory for WordPress) due to potential conflicts. I would double check to make sure that the only .htaccess file that exists in in ./ , meaning the root directory where WordPress was installed.

    You can modify that one .htaccess to restrict access to essentially any directory or file.

I can no longer see my image files in wp-content/uploads but the images are fine on the website instea I get a “”. Where can I see my images that moved from the wp/content/uploads/2015/06 folders please?