chartinael
Member
Posted 2 years ago #
Is there a way to change the uploadpath from the default value of wp_content/upload
to a directory above wp?
as in file structure is as follows
/html/blog/with all wp files (relfects domain.tld/blog/)
I would like to put abload folder in
/html/uploads
ist that possible?
chartinael
Member
Posted 2 years ago #
it is not, has no one thought of that?
Moin moin!
There is a esay way to solute the problem. Change the presets in the admin section. In german it called...
Einstellungen -> Verschiedenes:
'Uploads in folgendem Ordner speichern' [../mediathek]
'Kompletter Pfad zu den Dateien' [http://www.realtimespacelab.com/mediathek]
So if you use '/wordpress' as a subdir it will be possible to use '/mediathek' as an Imagefolder.
AlexLakes
Member
Posted 1 year ago #
Chartinael, Did you ever figure this out?
I've tried pro.sec's solution (../img), but WordPress doesn't like that either and in the media gallery shows the url as: http://www.domain.com/wordpress/../img/content/2010/07/test-image.jpg. Apparently it takes the ../ literally!
AlexLakes
Member
Posted 1 year ago #
I figured it out. You have to set both and that took a little bit to figure it out. Here's what I did, in case it helps anyone else:
Settings > Media > Uploads:
Store uploads in this folder: ../img/
Full URL path to files: http://www.domain.com/img/