plugins - How do you remove question mark in URL in get method?

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

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745553378a4632680.html

相关推荐

  • plugins - How do you remove question mark in URL in get method?

    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

    4小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信