PHP and paths location

06/26/2005 03:44 pm
I`m currently downloading a PHP site, wich most of the time is a pain!
On the current site OE Pro puts most of the files in the root, wich eventually will be something like 36.000 files, when the prevent overload options isn`t enabled.
Links look like:

OE Pro downloads the actual zip file, and keeps the php, including all behind the "?", and puts it in the root.
Is there a way to tell OE Pro to make a zip folder, and a folder2 folder, so it can put the file in there. And the same for the image, and all other files?

Oleg Chernavin
06/27/2005 06:31 am
Yes, you can use URL Substitites in the Properties | Advanced section to change filenames and folders as you wish.

Best regards,
Oleg Chernavin
MP Staff
07/03/2005 03:26 pm
Great, almost works perfect.

I just don`t know how to interpret the following:

What`s the best way to put this in the URL substitues? When I do like:

/index.php?show=*&path=* => /**/*/index.php

it makes all seperate folders of all the thumbnails?!
Oleg Chernavin
07/04/2005 06:45 am
OK. Change this to:

/index.php?show=*&path=* => /**-*-index.php

07/05/2005 01:33 pm
Thanks, works fantastic!!
But what does the "-"exactly mean/do?

Furthermore, I have some links that contain 4 paramters:

I know it`s not possible for OEP to substitue 4 parts, but what do you think is the best way to handle this!

Thanks again!
Oleg Chernavin
07/09/2005 03:44 am
It simply separates two parameters with a "-" symbol in the output filenames.

Regarding 4 parameters. I plan to add it in future, but it will take some time, sorry.

07/14/2005 06:35 pm
Ah, I see now. So eventually all files will be like /image.jpg-index.php or /movie.wmv-index.php.
I guess that`s the only solution?
Oleg Chernavin
07/15/2005 02:45 am
You can add another rule that will process such converted URLs.