XFileSharing Pro - Rewrite .htaccess to display different when viewing files

Message
Author
ultimatum
Posts: 11
Joined: Jul 09, 2011 4:06 pm

Rewrite .htaccess to display different when viewing files

#1 Postby ultimatum » Jun 30, 2013 6:13 pm

Hey guys,

By default the url of the page where you can download/preview the file is very long, which consists of:

http://www.domain.com/generatedCode/fileName.extension

What do I add or modify in the .htaccess file to make that link display the following:

http://www.domain.com/files/generatedCode

Thank you very much in advance.

gist
Posts: 16
Joined: Jul 18, 2012 10:45 am

#2 Postby gist » Jul 01, 2013 8:32 pm

I think there should be option in admin menu where you can set this. You don't need to edit htaccess for this :)


Return to “XFileSharing Pro”