开发者

How to replace all equal signs with forward slashes using htaccess

开发者 https://www.devze.com 2022-12-24 11:43 出处:网络
Is it possible to remove all instances of the \"=\" sign and replace it with the \"/\" sign. Using htaccess?开发者_Python百科Try these rules:

Is it possible to remove all instances of the "=" sign and replace it with the "/" sign. Using htaccess?开发者_Python百科


Try these rules:

RewriteRule ^([^=]*)=([^=]*)=(.*) /$1/$2/$3 [N]
RewriteRule ^([^=]*)=([^=]*)$ $1/$2 [L]
0

精彩评论

暂无评论...
验证码 换一张
取 消