#13693 closed defect (bug) (invalid)
multisite: featured image uploade gives incorrect URL (picture now showing)
Reported by: | solsikkehaven | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
using multisite, in a created blog (xx.yy.com/myblogname)
when uploading and using a featured image, the created code is like this:
"<div class="feature category-forside"><img width="848" height="400" src="/blogs.dir/2/files/2009/08/colourbox_03.jpg" alt="Post 3" /></a></div>
but that gives a blank image (no image shown). If I manually enter
"http://xx.yy.com/wp-content/blogs.dir/2/files/2009/08/colourbox_03.jpg" it shows the picture.
could some "offset" be wrong in WordPress 3.0-RC1-15084 ?
Change History (5)
#2
@
14 years ago
sorry. forget about comment#1: only one subdomain like this
subdomain.domain.com/blogname
#3
@
14 years ago
You should have rewrite rules in place such that the URL is yourblog/files/2009/09/colourbox_03.jpg. the blogs.dir and folders by blog id are not exposed.
oh. just for info: my domain name for this test is actually in the form of:
zz.xx.yy.com (using a subdomain) and then the blogs are trailing:
zz.xx.yy.com/blogname