ZenphotoCMS Forum
mod_rewrite album.php - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: mod_rewrite album.php (/thread-2821.html)



mod_rewrite album.php - PierreSnugg - 2008-05-07

Hy,

as far as i don´t use album.php, is there any chance to redirect any album.php page to the equal (would be nice..) image.php?

thx




mod_rewrite album.php - acrylian - 2008-05-07

A few more details about how you use it would be helpful. Meanwhile: http://www.zenphoto.org/support/topic.php?id=2877&replies=10




mod_rewrite album.php - PierreSnugg - 2008-05-07

Ah, i´m sorry

you can check on http://schmidtdedonno.com/schnitty/

you see, that from index.php i directly go to image.php, but
maybe on goes to the album site (by deleting the image filenam in the browser navigation)
or google is doing some link to the album, i want to redirect to the
image site...




mod_rewrite album.php - acrylian - 2008-05-07

So you basically want the "london" in "http://schmidtdedonno.com/schnitty/London/l01.jpg.php" to dissapear. I am not sure if that is possible because Zenphoto needs the album name to process.

How about implementing a redirection on the album.php page so that every user that tries to visit the album page (seriously I doubt many will try that) or simply a "back" link?

BTW, nice clean site, don't forget to submit it to our showcase...:-)