I want to add a non-parameter canonical link to all parametrized URLs. I try to do this on the following way:
<IfModule mod_rewrite.c>
### Catching all URLs with non-empty parameter ###
RewriteCond %{QUERY_STRING} .
### Adding to all parametrized URLs an environment variable ###
RewriteRule .* : [E=MY_HEAD:1]
</IfModule>
<IfModule mod_headers.c>
### Setting a non-parametrized URL as canonical to all URLs with an environment variable
Header set Link '%{HTTP_HOST}%{REQUEST_URI}e; rel="canonical"' env=MY_HEAD
</IfModule>
My question is: looking for examples i found results with and without the e
after {REQUEST_URI}
. What means this e
in this context?