I need to rewrite https://mydomain1.com/chanagepassword to https://mydomain2.com/ssp
then hide the url mydomain2.com/cp in browser and show https://mydomain1.com/chanagepassword.
I got the first part working with the rule:
Options +FollowSymLinks RewriteEngine on RewriteRule /changepassword https://mydomain2.com/ssp/ [R=301,L]
However it shows https://mydomain2.com/ssp url on browser. How can I mask this and show https://mydomain1.com/chanagepassword