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!
Use:
RewriteRule ^signup/?$ index.php?a=signup [NC,L]
At the top after RewriteBase /
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.