![]() |
|
Moving an Album - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Moving an Album (/thread-2158.html) |
Moving an Album - syrupcore - 2008-01-28 Hi, I just renamed an album directory from "/her/" to "/dora/". New album works fine. I'm trying to ensure that any one who erroneously visits /her/ gets redirected to /dora/. I tried a few variations of this line in my .htaccess file:
to no avail. I always get "Zenphoto Error: the requested object was not found. Please go back and try again." What am I missing? Thanks Moving an Album - acrylian - 2008-01-28 Looking at your link, you renamed the folder zenphoto resides in, right? You just need to change this line within zenphoto's htaccess, too : RewriteBase /zenphoto `Regarding the redirection: You could try something like this: I haven't tested it (and it's not really a zenphoto problem). For further info see here: http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html Moving an Album - syrupcore - 2008-01-28 Thanks acrylian. I had the rewrite base set but something was/is wrong with my rewrite rule. I've used RedirectMatch like this: which does the trick but it's sorta funny. When I enter http://luktown.org/photos/her/ into the browser I get redirected to http://luktown.org/photos/dora/?album=her/ Works fine but I wish I had a clue about how/why. Thank you for your help. Moving an Album - acrylian - 2008-01-28 I am not an expert, try |