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
1 Answer
Reset to default 0The 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
版权声明:本文标题:url rewriting - Wordpress Post url encoding problem 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745493968a2660727.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论