: Wrestling with some rewrites for Apache I have upgraded my gallery2 to gallery3, and notice that some links no longer resolve correctly. Since the proper way is to redirect these with a 301,
I have upgraded my gallery2 to gallery3, and notice that some links no longer resolve correctly. Since the proper way is to redirect these with a 301, that is the way I'm going. The following series need redirecting:
folders:
old: photo.meulie.net/v/various/Gry/
new: photo.meulie.net/various/Gry/
pages:
old: photo.meulie.net/v/Jacob/02112008310.jpg.html
new: photo.meulie.net/Jacob/02112008310
(both are of course just examples. there are 100's of folders & files to redirect...)
I think there were/are also direct links to images, but those I'm not bothering with for now.
Who can help me out? :-)
Regards,
Evert
NB. these are the existing rewrite rules:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri= [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri= [QSA,PT,L]
RewriteRule ^index.php/(.*) [QSA,R,L]
Where should I insert your lines?
Greetings,
Evert
More posts by @Nimeshi995
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.