Uploaded images do not show on localhost

Question

I’m working with WordPress 3.3.1 on a local installation. I’ve uploaded an image file and it doesn’t show up.

The base directory is a symbolic link /var/www/wordpress/ that leads to /usr/share/wordpress/

The file exists here:
/srv/www/wp-uploads/localhost/2013/01/Logo.png

WordPress thinks the file is here:
http://localhost/wordpress/2013/01/Logo.png (Apache gives 404)

How can I configure Apache or WordPress to get the correct file?

I’m confused because /srv/www/localhost/ contains the WordPress files (as well).

Also, I’ve found questions related to wp-content/uploads but this directory doesn’t exist.

0
GUI Junkie 9 years 2013-01-08T12:59:15-05:00 0 Answers 97 views 0

Leave an answer

Browse
Browse