In the CONFIG.PHP put the following:
Code: Select all
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
Code: Select all
Enabled Rule: Checked
Type: Global
Virtual Path Regular Expression: ^/(.*)$
Case Sensitive: Unchecked
Conditions:
REQUEST_FILENAME - Is not a file
REQUEST_FILENAME - Is not a directory
Apply to subrequests too: Checked
If this rule matches: Perform an internal redirection
Redirecto to: /index.php?page=$
Append Query String: Checked
Escape Redirection Location: Checked
Next Action: Stop matching