S
S
Shimpanze2018-02-12 14:57:37
WordPress
Shimpanze, 2018-02-12 14:57:37

WordPress: how to change file upload folder?

Hello!
Installed WordPress on the hosting in the "wordpress" subfolder.
How to force WordPress to go back one folder (from the folder where wp-config.php is located) and build the path from there?
Now I'm doing this (some kind of imitation of a relative link): But it doesn't work... Maybe you can somehow process it with a regular expression through ? I can't figure it out... Thank you very much!
define('UPLOADS', '../images');
preg_replace

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimox, 2018-02-22
@Shimpanze

Can be changed using the WP Original Media Path plugin .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question