[wp-trac] [WordPress Trac] #5981: Uploaded items not found in the
admin after URL change
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 24 11:29:26 GMT 2008
#5981: Uploaded items not found in the admin after URL change
----------------------------+-----------------------------------------------
Reporter: firebird75 | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.6
Component: Administration | Version:
Severity: minor | Keywords:
----------------------------+-----------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/5981>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list