Hello Guys!
I remember reading in your forum about moving the image folder to a subdirectory in order to increase speed.
I have looked up on google, but still can’t make it right. It seems the tutorials are not updated.
I created a subdirectory on cpanel: myimages.mystore.com and this directory is pointing to /public_html/image/ (the original folder for images)
I edit my config.php file from the root directory of my OC:
Grab this line:
define('DIR_IMAGE', '/hermes/bosweb25a/b70/nf.mystore/public_html/image/');
and changed for this:
define('DIR_IMAGE', '/hermes/bosweb25a/b70/nf.mystore/myimages/');
When I load the website, there are no images. So I guess something was done wrong.
Do you mind to give me a help?
Thanks
|
|
Make sure your images are accessible from your domain. In your case you are hiding the images folder from the root server’s directory and they cannot be opened.
Also, moving the images to a subfolder won’t bring you performance gain. The site’s loading speed will benefit a little if you move your images to another domain or subdomain or even more – CDN server, but the gain is modest.
Regards,
ThemeBurn team
|
|
My bad guys!
I was asking about moving it to “subdomain” (i typed subdirectory)
How can I move the image folder to a subdomain?
Thanks
|
|
There are no special instructions for Shoppica to use subdomain for images. You can just search how to do it for a regular opencart site.
Regards,
ThemeBurn team
|
|