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]
2.1m questions
2.1m answers
60 comments
57.0k users