htaccess 从一个文件夹重定向到另一个文件夹,但不从其子文件夹重定向
谁能告诉我将特定文件夹重定向到另一个文件夹的最佳方法是什么?
例如:
folderName1 -> subFolderName1
-> subFolderName2
-> subFolderName3
folderName2
当我得到“folderName1”(但不是特定的“subFolderName1/2/3”)时,我会自动重定向到“folderName2”。
多谢!
can anyone tell me what's the best way to redirect a specific folder to another one?
for example:
folderName1 -> subFolderName1
-> subFolderName2
-> subFolderName3
folderName2
and when i get "folderName1" (but not the specific "subFolderName1/2/3") i'm redirect automatically into "folderName2".
thanks a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我上面的评论是正确的那么:
If my comment above is true then: