Hi All,
I've currently got the following rule in my mod_rewrite which works:
RewriteRule ^([A-Za-z0-9_-]+)/$ test.php?level1=$1
if there is a directory specified "abcd/" thenn it called the php script passing the directory name as the parameter.
Now i'd like to use php urlencode when i'm making up URL on the fly. When i use this command, spaces are replaced by '+' characters. I've tried the following line (added an escaped + character to tha pattern match) to match the plus characters but it doesn't work:
RewriteRule ^([\+A-Za-z0-9_-]+)/$ test.php?level1=$1
I can't se why it won't work! Any ideas?
Many thanks in advance.
Neil