XFileSharing Pro - how can i make access custom pages directly?

Message
Author
hscorp
Posts: 143
Joined: Nov 12, 2008 5:36 pm

how can i make access custom pages directly?

#1 Postby hscorp » May 23, 2009 4:17 am

what i mean when we make custom page we access it through

http://www.sitename.com/pages/pagename.html

but i want it to be like

http://www.sitename.com/pagename.html

and be multilingual so i must put it in pages folder

i think the older version had this direct feature

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » May 25, 2009 1:37 pm

You can edit .htaccess in htdocs:
replace

Code: Select all

^pages/([a-z0-9\-\_]+).html
with

Code: Select all

^([a-z0-9\-\_]+).html

Don't remember now why I've changed this. Probably cause when page is 12-chars length - where was wrong rewrite to Download File.