[URL Rewrite] [solved] path configuration
petterviken
Joined: 2007-04-25
Posts: 9 |
Posted: Sat, 2007-08-18 07:34 |
URL Rewrite Administration: Under 'Show Item' I'm using the default: 'v/%path%'. Is there any reason i can't use just '%path%'? My path is like this now: And i find it more natural to skip the 'v', like this: Test the Rewrite Parser Configuration: -- Specs -- |
|
Posts: 8601
The default has 'v/' because it can't have any conflicts. You can remove the 'v/', just be aware that you can't make any top level items/albums that have filenames matching real dirs/files in the gallery2 directory. (ie, don't make an album with pathname = "lib" or "themes"). There's a task in Site Admin / Maintenance you can run to check for conflicts.. remove the v/, then go run that task to see if you're (currently) ok.
Posts: 9
Yes of course! I see now... this is perfect. i always use the current year as the top level album. so that won't be any problem. tnx a lot.
Posts: 344
This was timely. Thanks for asking and solving the question I do have one question though...
I want to remove the "v" because I am trying to upgrade to Gallery2 and keep my old URLs from Gallery1 and will have to rename each photo to match the old URLS. This means I will have to remove the "v". Now, what if I do create an album that is the same name as a top level item? Will I get a warning before it overwrites the previous item?
Thanks for any clarification.