Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Migrating from Gallery and vice versa

Olivier Paroz edited this page Sep 15, 2015 · 1 revision

If you're migrating from one Gallery/Pictures app to another, your shared links will stop working, unless you tell your web server where to redirect the user.

Apache

Add one of the following rules to the .htaccess file located in your ownCloud web root. Kudos to Éric Seigne.

From Pictures to Gallery+

For ownCloud 6-8.1

RewriteRule ^index.php/apps/gallery/public/(.*) https://YOURDOMAIN/index.php/apps/galleryplus/s/$1

From Gallery to Gallery+

For owncloud 8.2+

RewriteRule ^index.php/apps/gallery/s/(.*) https://YOURDOMAIN/index.php/apps/galleryplus/s/$1

From Gallery+ to Gallery

For owncloud 8.2+

RewriteRule ^index.php/apps/galleryplus/s/(.*) https://YOURDOMAIN/index.php/apps/gallery/s/$1

Nginx

Contribution welcome