cotonti.com : mp3 category over "/mp3" folder https://www.cotonti.com Останні повідомлення в темі Cotonti en Sat, 10 Jan 2026 05:17:16 -0000 Eugene Finally decide to rename that folder (eliminate interfere with mp3 category and rewrite on). Updated page_url value in cot_pages.

solved. thanks.

]]>
Вт, 03 Кві 2012 08:23:41 -0000
GHengeveld Simplest solution is to use htaccess to figure out whether or not an actual file (from mp3 folder) is being requested, or a page in the mp3 category. Something like this:

 

RewriteRule ^mp3/(.*).mp3$ mp3/$1.mp3 [QSA,NC,NE,L]
]]>
Пт, 17 Лют 2012 17:17:43 -0000
Eugene there are 2 things I don't like to loose - old link to pages with mp3, and old direct links to mp3-files in /mp3 folder.

Genoa made me list.php?c=mp3 - so, I never thought I would have such problem...

I'll think what to choose...

thank you, TM

]]>
Пт, 17 Лют 2012 17:06:45 -0000
Trustmaster I don't think it could and should be done for any arbitrary category, otherwise all requests to static folders would be processed by PHP which is not what you'd want from a lightweight system. So I'd strongly recommend avoiding same folder/category names instead. Thanks to config.php, you can even override the default ones.

]]>
Пт, 17 Лют 2012 13:20:01 -0000
Eugene Recently bug was fixed to make System category has priority over /system folder.

Please, advise, what is the fastest way to do the same for /mp3 folder (which interfere with "mp3" category)?

 

]]>
Пт, 17 Лют 2012 10:02:15 -0000