将 ex-ample.com/asdf 重定向到 example.com/asdf
我想将所有请求从 ex-ample.com 重定向到 example.com。 url结构应该保持不变,我只想“替换”域中的“-”...
http://www.ex-ample.com/asdf123
redirects to:
http://www.example.com/asdf123
谢谢!
I want to redirect all requests from ex-ample.com to example.com. The url structure should remain the same, I only want to "replace" the "-" in domain...
http://www.ex-ample.com/asdf123
redirects to:
http://www.example.com/asdf123
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果它只是一个连字符:
If it’s just a single hyphen: