Spostamento di una installazione di Gallery2

From RVM Wiki
Revision as of 15:39, 10 April 2008 by Gabriele.vivinetto (talk | contribs) (New page: {{Stub}} How can I move my gallery installation from one folder to another? Here's a step by step guide: 1. Deactivate and uninstall the url rewrite module if it's active (not just d...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Attenzione questo articolo è ancora incompleto.
Sentiti libero di contribuire cliccando sul tasto edit.

How can I move my gallery installation from one folder to another?

Here's a step by step guide:

  1. Deactivate and uninstall the url rewrite module if it's active (not just disable the rewrite rules, disable and uninstall the whole module in site admin -> modules (plugins in later versions)).
  2. Move the gallery folder (move/rename it with an ftp application, a file browser or with a shell). If you choose to move gallery from a subdirectory to the root of your website, just move all files and directories that are in the gallery folder to the web root directory.
  3. Edit config.php manually. If the g2data was within the gallery directory and you moved it, update the line: 

$gallery->setConfig('data.gallery.base', 'some/path');

If you use a multisite install, you also have to update:

$gallery->setConfig('galleryBaseUrl', );

Save config.php, and you're done.

http://codex.gallery2.org/Gallery2:FAQ#How_can_I_move_my_gallery_installation_from_one_folder_to_another.3F