WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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)

#1 @solsikkehaven
9 years ago

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

#2 @solsikkehaven
9 years ago

sorry. forget about comment#1: only one subdomain like this

subdomain.domain.com/blogname

#3 @nacin
9 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.

#4 @solsikkehaven
9 years ago

  • Resolution set to invalid
  • Status changed from new to closed

no - must be something else. Closing ticket.

#5 @ocean90
9 years ago

  • Milestone 3.0 deleted
  • Priority changed from high to normal
  • Version 3.0 deleted
Note: See TracTickets for help on using tickets.