3
我試圖從URL的末尾刪除字符串:刪除查詢字符串
例如,我有這樣的結構:
http://sitename.com/category/first-category-name/?post_type=question
http://sitename.com/category/second-category-name/?post_type=question
http://sitename.com/category/...-category-name/?post_type=question
我想從URL的末尾刪除?post_type=question
。
我喜歡很多關於stackoverflow的例子,但沒有人爲我工作。
謝謝。