Knowledge Base


Knowledge Base / XFilesharing Pro / How to ...

How do I change the additional pages URL structure?
06/18/2012 05:02 PM

Question

How do I change the additional pages URL structure?

Make http://myfilehost.com/pages/rewards.html into http://myfilehost.com/rewards.html

Answer

Quite simple actually. You'd use a single line of .htaccess. Just modify the line below to work with your page. The one below is assuming the it's a rewards.html page in /cgi-bin/Templates/pages/english


RewriteRule    ^rewards\.html$ /cgi-bin/index.cgi?op=page&tmpl=rewards [L]