DirectoryIndex index.php RewriteEngine On RewriteRule ^search.php /index.php?route=search/search&type=simple [L] RewriteRule ^advanced.php /index.php?route=search/search&type=advanced [L] RewriteRule ^expert.php /index.php?route=search/search&type=expert [L] RewriteRule ^search-helper.php /index.php?route=search/helper [L] RewriteRule ^audit-helper.php /index.php?route=audit/helper [L] RewriteRule ^message.php /index.php?route=message/view [L] RewriteRule ^bulkrestore.php /index.php?route=message/bulkrestore [L] RewriteRule ^folders.php /index.php?route=folder/list& [QSA,L] RewriteRule ^settings.php /index.php?route=user/settings [L] RewriteRule ^login.php /index.php?route=login/login [L] RewriteRule ^logout.php /index.php?route=login/logout [L] RewriteRule ^google.php /index.php?route=login/google [QSA,L]