I have to manually redirect few URLs in my website1 to website2.
Below is my code in the .htaccess
file of website1
Redirect 301 /post1/ https://www.website2.com/post1
When I enter https://www.website1.com/post1/
in the browser it's being redirected to https://www.website2.com/post1
successfully, as expected.
But, When I enter https://www.website1.com/post1
in the browser it's being redirected to https://www.website2.compost1
, the slash is missing after https://www.website2.com
What could be done to solve this?