Hello,
I am looking a way to rename ?op=my_files plus directory names and paginations.
any help will be appreciated
XFileSharing Pro - how to rename ?op=my_files ?
I guess you can do it via .htaccess but you need to edit index.cgi a bit too I guess
Something like that would work
Code: Select all
RewriteRule ^my_files/$ index.cgi?op=my_files [L,NC]
RewriteRule ^my_files/([0-9]+)$ index.cgi?op=my_files&page=$1 [L,NC]
RewriteRule ^my_files/dir/([0-9]+)$ index.cgi?bla&fld_id=$1 bla
RewriteRule ^my_files/dir/([0-9]+)/([0-9]+)$ index.cgi?bla&fld_id=$1&page=$1 bla
-
- Posts: 33
- Joined: Nov 04, 2009 2:10 pm