WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5981 closed defect (bug) (duplicate)

Uploaded items not found in the admin after URL change

Reported by: firebird75 Owned by:
Milestone: Priority: low
Severity: minor Version:
Component: Administration Keywords:
Focuses: Cc:

Description

Description of the issue :
If a file is uploaded to the blog (using the post uploader) and then the URL of the blog is changed, in the admin manage/uploads section, the pointer will still map to the old URL (so the result is a broken link structure for uploaded items).

To be more precise :
We have a blog with the following structure :
http://www.blog.com/directory/
If I upload a file, it will go into the following directory :
http://www.blog.com/directory/wp-content/uploads/2008/02/file_name
Now if I change the blog URL to be :
http://www.blog.com/
(ie I have stripped the directory and moved all the files to the root)
The file links is still :
http://www.blog.com/directory/wp-content/uploads/2008/02/file_name
So the directory hasn't been removed while I have updated the blog URL structure in the admin.

Change History (2)

comment:1 @ryan8 years ago

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

see #2682

comment:2 @Nazgul8 years ago

  • Milestone 2.6 deleted
Note: See TracTickets for help on using tickets.