![]() |
Change Image locations back and forth many times
I changed the Image Location from database to file system successfully. But I need to change them back to database. Is this a problem?
What if I want to change them back from database to file system again afterwards? Is there any issue with that? Thanks |
Why would you want the images in the DB?
|
I am moving the shop from /shop to the root directory. Based on earlier suggestions, the steps are to move images to DB first, then move all files, then move images back to file system. That is what I am doing, but I am not sure if there is any issue with this.
|
Ahh. I don't usually recommend that method as it renames all of the files (which will hurt your SEO image names), but if that is the way you want to do it you can switch them back and forth as many times as you wan t.
|
What do you recommend to move the store to root?
|
I don't like this method either.
|
Because the root directory is much more search engine friendly and visually appealing.
|
Yes, that is why I am moving the store.
But is there a better way to do this? |
I just move the files to the root, update config.php and run an SQL query to update the image path in the database, similar to this:
update xcart_thumbnails set image_path = replace(image_path,'/store/','/') |
thanks!
do I run the sql for icon and detailed image as well? |
All times are GMT -8. The time now is 09:29 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.