Forum Moderators: phranque
<IfModule mod_rewrite.c>
Options FollowSymLinks
RewriteEngine on
RewriteRule ^direct/(.+) /index.php?q=$1 [L]
</IfModule> I'm trying to get it to work without the need to reference the directory "direct" on the first part of the rule and instead reference the root:
RewriteRule (.+) /index.php?q=$1 [L]
For some reason it's not working as expected. I know that if you're referencing the folder in which htaccess resides then you don't need the leading "/" but as for what else I could have overlooked I'm not so sure.