在 WordPress 上的 htaccess 中重写
我错误地在测试域的文件夹中创建了一个站点,现在我想将该 URL 的所有流量重定向到新的 URL。
例如,我有: http://subdomain.example.com/blog 我希望它能够继续到一个全新的域。
任何帮助表示赞赏。
谢谢, 马特
I made the mistake of creating a site in a folder on a test domain and now I want to redirect any traffic to that URL to the new one.
For instance I have: http://subdomain.example.com/blog and I want it to go to a complete new domain.
Any help is appreciated.
Thanks,
Matt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 htaccess 文件中重定向到一个全新的域,您可以执行以下操作:
In the htaccess file to redirect to a completely new domain you could do something like this: