如何隐藏 URl 查询字符串?

How to hide the URl query string?

我们已经安装了 Moodle v3.4 (PHP & MySQL) 并且 运行 顺利。但是,为了安全起见,我们需要在所有页面中隐藏URL的查询字符串。

What is the best way to hide the query string?

请指教!

我认为你在谈论友好 URL。 也许下面link会对你有帮助。

https://tracker.moodle.org/browse/MDL-28030

https://www.moodleworld.com/add-clean-urls-to-your-moodle-site-using-this-clean-urls-plugin-brendanheywood-moodle-moodledev/

从上面提到的插件,你的 URL 将转换如下。

凌乱URL:http://example.com/course/view.php?id=1

清洁 URL: http://example.com/course/1

希望我的回答对您的问题有所帮助。

谢谢