简体   繁体   English

如何使用.htaccess规则从wordpress网址中删除查询字符串

[英]How to remove the query string from the wordpress url using .htaccess rule

I want to remove the query string from the wordpress url. 我想从wordpress网址中删除查询字符串。 URL: http://domain.com/our-homes-storey/?storey=40 I want to change that url from the below url: http://domain.com/our-homes-storey/locationname 网址: http : //domain.com/our-homes-storey/?storey=40我想从以下网址更改该网址: http : //domain.com/our-homes-storey/locationname

Go to Wordpress Admin - Settings - Permalinks 转到Wordpress管理员-设置-永久链接

And set your permalinks to be one of the formats you want, or create your own. 并将永久链接设置为您想要的格式之一,或者创建自己的格式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM