[pmwiki-users] How to change Upload and Attach directory without breaking things

ABClf languefrancaise at gmail.com
Fri Oct 8 02:25:41 CDT 2010

I haven't ever changed location where are my files so... here it is how I
imagine I would have done (almost same as you suggest) :
-change in config file the path to files ;
-go to site, load some pages, just to be sure my images (for example) and
other files are deadlinks and that the url called is the one I want ;
-if so, rename my old path (or transfer files).

More difficult would be to change the way the uploads are organized
($UploadPrefixFmt = '/$Group'; : by groups, by page, by site, or something
more specialized).

If you don't delete anything, there shouldn't be any risk. But, be caution :
I won't pay for the errors I could cause ;)


2010/10/8 kirpi at kirpi.it <kirpi at kirpi.it>

> > Why not use a mass search and replace program ?
> Yes, true, I can try with emacs for a mass replace.
> As far as the other, basic, steps are concerned: is it sound to follow
> this way or is there anything more to take into account?
> Luigi


| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20101008/7176e3fd/attachment.html>

More information about the pmwiki-users mailing list