Hi,
I am converting my old coppermine to zenphoto.
I want all my new zenphoto to have the same configuration.
So, as I same the number of thumbnails to be displayed per page. It created a page2 that no longer exist, so this is why I created the redirection to remove the page2 link.
May be I did the redirection wrong. Here is the content of the .htaccess in the zenphoto folder ...
# htaccess file version 1.4.5;
# Rewrite rules are now handled by PHP code
# See the file "zenphoto-rewrite.txt" for the actual rules
#
# These rules redirect everything not directly accessing a file to the Zenphoto index.php script
#
<IfModule mod_autoindex.c>
IndexIgnore *
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /gallery
RewriteRule ^gallery/Sights/DelfinarioCayoGuillermo/page/2/$ "http://www.cayocococuba.net/gallery/Sights/DelfinarioCayoGuillermo/" [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]
RewriteRule ^.*/?$ index.php [L,QSA]
</IfModule>