We have links like this that users click on in emails.
https://www.samplesite.com/re/Jim.Smith
What is happening is they are getting redirected to the absolute url instead of the personalized url above.
So in the url after clicking on the link in the email it looks like this.
https://www.samplesite.com/sample_folder/landing.aspx?rid=Jim.Smith
We wish to keep the url link the same as the link in the email. The following is our helicon rule. Can you tell me what if anything is wrong with this?
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_Host} (^(?:www\.)?www.samplesite.com$) [NC]
RewriteCond %{REQUEST_URI} !^/(robots\.txt|favicon\.ico)$ [NC]
RewriteRule ^/re/([^/]+)$ https://www.samplesite.com/sample_folder/landing.aspx?rid=$1 [NC,L,R]