Reputation: 327
I have this:
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /#!/$1 [L]
And I want to /signup to go rediect to index.php?a=signup
I tried
RewriteRule ^signup/?$ index.php?a=signup
And others but none works!
Upvotes: 0
Views: 45
Reputation: 18671
Use:
RewriteRule ^signup/?$ index.php?a=signup [NC,L]
At the top after RewriteBase /
Upvotes: 1