admin管理员组文章数量:1430506
I'm trying to create a plugin for Wordpress and in the plugin, I am using the Get method to store a string which I will use to call an API. I created a custom page and the url is: http://localhost/wordpress/explorer/. When using the get method in a contact form, the URL becomes http://localhost/wordpress/explorer/?value=inputvalue where input value is the value I inserted into the form. To make the URL look nicer, I want to removed the question mark before inputvalue and make the url something like this http://localhost/wordpress/explorer/value/inputvalue. How can I do that?
I don't want to use the post method since I want the input value to be in the URL.
本文标签: pluginsHow do you remove question mark in URL in get method
版权声明:本文标题:plugins - How do you remove question mark in URL in get method? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745553378a2663046.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论