cotonti.com : mp3 category over "/mp3" folder https://www.cotonti.com Последние сообщения в теме Cotonti en Sun, 14 Dec 2025 15:28:19 -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