替换部分 URL
所以,我有以下 URL:
.../taxonomy/term/206/all/feed .../taxonomy/term/206/all
需要一个 RewriteRule 将所有内容替换为“0”,即
.../taxonomy/term/206/0/feed .../taxonomy/term/206/0
PS。 206 - 只是一个示例,可以是任何数字。
So, I have following URLs:
.../taxonomy/term/206/all/feed .../taxonomy/term/206/all
It is needed a RewriteRule to replace all with '0', i.e.
.../taxonomy/term/206/0/feed .../taxonomy/term/206/0
PS. 206 - just a sample, could be any number instead.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你的意思是这样的吗?
请注意,这将采用
/123/all/all/all
并将其重写为/123/0/0/0
Do you mean something like this?
Note that this will take
/123/all/all/all
and rewrite it to/123/0/0/0