[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wordpress can't find uploads



On Sun, 13 May 2012 17:25:47 -0400, Daniel D Jones wrote:

> I have multiple Wordpress blogs running using Debian's method of
> pointing to different blogs.  I'm posting here and not a Wordpress
> specific list because I believe this is related to Debian's unique
> method of installation.  

Which is described at "/usr/share/doc/wordpress/README.Debian".

> On one instance, I'm using the Portfolio Press theme.  Images I upload
> to the portfolio do not show up.  Looking at the source, the image is
> linked as:
> 
> /wp-uploads/2012/05/image.jpg
> 
> The actual path to the images is:
> 
> /wp-uploads/myblog.mydomain.org/2012/05/image.jpg

So, you mean the WP theme you have installed does not detect the full 
path for the stored images of the virtual host site, right?
 
> There is a different directory for each blog I'm running under the
> /wp-uploads/ directory, allowing all the blogs to peacefully coexist.

Looks a sensible approach.
 
> What's puzzling is that the images are being uploaded by the theme and
> instance to the correct location.  It's only the image links on the post
> itself which are incorrect.  Any hints or suggestions appreciated.

Mmm... have you checked if there is any configuration option to control 
this from WordPress control panel settings? I think the main problem can 
be in configuring WP to work with multi-homed sites (aka "virtual 
hosting").

Greetings,

-- 
Camaleón


Reply to: