admin管理员组

文章数量:1429067

I have a wordpress site. In a post I use a clickable another post link like "/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 /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.

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.

Share Improve this question edited May 14, 2019 at 21:47 Fdx Regan asked May 14, 2019 at 21:17 Fdx ReganFdx Regan 11 bronze badge 2
  • simply you cant – Vishwa Commented May 15, 2019 at 5:22
  • So how this site (thewpclub/download/…) make it possible – Fdx Regan Commented May 15, 2019 at 11:52
Add a comment  | 

1 Answer 1

Reset to default 0

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.

本文标签: url rewritingWordpress Post url encoding problem