htaccess 重定向到带有查询字符串的 url?
我想通过 htacess 将 domain.xyz/something 重定向到 domain.xyz/abc/?querystring。 (提出的大多数类似问题都是相反的。) 任何帮助将不胜感激! 谢谢!
重定向查询字符串
RewriteEngine On
RewriteCond (...)
< - 一个常见的答案,但也许是我正在寻找的“相反”
I would like to redirect domain.xyz/something to domain.xyz/abc/?querystring via htacess.
(Most similar questions raised were intended the other way around.)
Any help would be greatly appreciated!
Thanks!
Redirect Query String
RewriteEngine On
RewriteCond (...)
<- a frequent answer but perhaps "the other way around" to what I'm looking for
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除非您在
.htaccess
文件中有其他要求或指令,否则它可能只是一个简单的重定向:Unless you have other requirements or directives in the
.htaccess
file then it's potentially just a straightforward redirect: