regex – URL rewrite with "+" sign (equals Google+) .htaccess


I would like to write a rule in .htaccess with RewriteRule using the plus sign (+) for a url in Google-like format, like this: was interpreted or was interpreted

Thank you in advance for your help.


RewriteEngine on
RewriteBase /
RewriteRule ^\+(.*)$ /?track=$1 [L]
RewriteRule ^(.*)\+(.*)$ /$1?track=$2 [L]
Scroll to Top