Simple .htaccess rewrite to pass 1 parameter
snippet in htaccess

Simple .htaccess rewrite to pass 1 parameter

user5343

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /index.php?q=$1 [L]