Active
Project:
Content Construction Kit (CCK)
Version:
7.x-2.x-dev
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 May 2011 at 04:58 UTC
Updated:
22 Feb 2012 at 04:56 UTC
I moved the site to new domain and need to redo the urls linking to image but don't know where they are located. Is it possible to do this without having to re-upload image ?
Comments
Comment #1
nevets commentedThey are in the files table (CCK stores the fid). Since they are stored as relative paths to the sites root directory if you moved the files over to the same place in the directory structure they should just work. Caveat though, if you copies over everything without retaining permissions, writable directories will need their owner changed (preferred) or permissions changed to 777, these would include any generated images by image cache.
Comment #2
espirates commentedThey don't appear to be relative paths, in the files table, it shows sites/domain/files/image I need to change the /domain/ to /default/
Comment #3
nevets commentedThat is a relative path, you are just moving it, you can use an SQL Update to change the path using 'Replace'.
Comment #4
rekoyunasril commented