Answer the question
In order to leave comments, you need to log in
How to make such a mod_rewrite rule?
Wrote these instructions
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /go?id=$1 [L]
Answer the question
In order to leave comments, you need to log in
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^.+\/&
RewriteRule ^(.*)$ /go\?id\=$1 [L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question