WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13693 closed defect (bug) (invalid)

multisite: featured image uploade gives incorrect URL (picture now showing)

Reported by: solsikkehaven Owned by:
Priority: normal Milestone:
Component: Media Version:
Severity: normal Keywords:
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)

comment:1 solsikkehaven3 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

comment:2 solsikkehaven3 years ago

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

subdomain.domain.com/blogname

comment:3 nacin3 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.

comment:4 solsikkehaven3 years ago

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

no - must be something else. Closing ticket.

comment:5 ocean903 years ago

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