I just migrate all my photos from Gallery 2 to Zenphoto. However, i don't know how to write rewrite rule for 1:1 mapping 301 redirection?
Main Page:
http://www.hkceleb.com/gallery -> http://www.hkceleb.com/pic
Album :
http://www.hkceleb.com/gallery/v/alley-chan/ -> http://www.hkceleb.com/pic/alley-chan-lok-yiu/
Photo:
http://www.hkceleb.com/gallery/v/carisa-yan/carisa-yan-080524-144928.jpg.html -> http://www.hkceleb.com/pic/carisa-yan-wing-shan/carisa-yan-080524-144928.jpg.htm
Many thanks in advance.
I'm interested in doing the same for my Coppermine gallery.
Old / CPG : http://warped.org/pix
New / ZP : http://warped.org/photos
cheers!
-m
What about a simple PHP script that would be called any time you go into the old tree (coppermine/gallery) that did a database lookup against ZP and 301'd you to the picture there?
I'm thinking it would 404 if it didn't find anything so that you could expire old photos from the old gallery.
admins? ;-)