Hi. We're trying to change our website's image path to a subdomain, for example, our current image path is ourwebsite.com at Directnic. We want to change to images.ourwebsite.com/images/123.jpg
Can someone tell me which file I need to modify and which code I should change?
Thank you
Hi,
There are more ways to modify the url but the simple and fastest is:
#on file config.php
replace:
$config['images_path'] = $config['current_path'] . '/images/';
to:
$config['images_path'] = 'http://images.ourwebsite.com' . '/images/';
I hope that helps,
—
Valentin