Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1122832
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 4 months ago.
Improve this questionI have a button on my site, that will take you to somewhere else in the same page. But that id is appearing in the URL. And I don't want it to be shown. So in my URL there is the main part / site name / the id that I don't want to show.
here is the URL picture: till the hostinger is the main part after / is the site name / #and the id:
I found that I should go to settings and in permanlinks I should change it to Post name but I used it already so I didn't got anywhere. I didn't find any wordpress support email address either.
Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 4 months ago.
Improve this questionI have a button on my site, that will take you to somewhere else in the same page. But that id is appearing in the URL. And I don't want it to be shown. So in my URL there is the main part / site name / the id that I don't want to show.
here is the URL picture: till the hostinger.com is the main part after / is the site name / #and the id:
I found that I should go to settings and in permanlinks I should change it to Post name but I used it already so I didn't got anywhere. I didn't find any wordpress support email address either.
Share Improve this question edited Sep 17, 2024 at 16:35 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Sep 17, 2024 at 10:42 AdamAdam 11 Answer
Reset to default 4That's a basic facet of how web browsers work, you pass the ID as fragment in the address bar and it knows to scroll to that point. It would be possible to bodge your way around it with an event handler, but
- That's not specific to WordPress, so would be best asked on a different Stack
- Interfering with the browser's page history is bad UX
本文标签: How to hide ids from URL
版权声明:本文标题:How to hide ids from URL 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736291494a1928735.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论