Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: rekoyunasril commented