|Posted: Sat, 2012-07-28 13:08|
I've migrated my 19,000 image gallery from G3 to G3. It took quite a long time, but went without a hitch.
I'm trying to get the old URL's to gallery2 images to work in my blog posts so I don't have to go back over 4000 posts and fix urls to linked images.
My G2 gallery folder was /gallery2/ - My G3 folder is /gallery/ so I have no desire to rename the old gallery folder to gallery2_old or anything like that.
The only part of the generated URL rewrite which works properly is the main directory. Any other URL rewrites don't work. I'd appreciate someone who knows more than me to chime in.
This is the code generated for me:
<IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^(.*)$ /gallery/index.php/g2/map?path=$1 [QSA,L,R=301] </IfModule>
It should perhaps also be noted that my original images were located outside of the gallery2 folder, inside images/albums/