Answer the question
In order to leave comments, you need to log in
How to write a regular expression in htaccess?
Hello, I have the code:
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_\-]*)\.png$ image.php?user=$1
RewriteEngine On
RewriteRule ([a-zA-Z0-9_\-])\/([a-zA-Z0-9_\-]*)\.png$ image.php&tanks=$1&user=$2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question