Can someone please tell me what should my .htaccess file contain to create the following rewrite:
http://www.example.com/success
to call
http://www.example.com/index.php?q=success
Try with:
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ /index.php?q=$1 [L]
1.4m articles
1.4m replys
5 comments
57.0k users