I have a wordpress site. In a post I use a clickable another post link like "https://domain.ext/another-post-link", but I do not want to the display the link in the browser address bar and in replace the url would be like https://domain.ext/dl?url=vjhvvdhlbdhbvfhdvdfvdkfdfaewa==. That means the url would be encoded. How I can I do that. I try to find out by searching in google but could not get exact solution. Can anybody help me.
The only way I know to change the URL in the browser's address bar is to provide the actual URL in the HREF link that you want to see displayed.
If there were a way to change the URL in the browser's address bar, then that would open up many cans of worms for hackers that want to obfuscate the actual URL. So the browsers do not allow that ability.