我有同名的文件夹和文件文件。'product' 是我的文件夹,其中包含文件 integration.html、test1.html 和 test2.html。我的文件夹结构如下
testproject (project folder)
product (subfolder in testproject )
integration.html (file in product folder)
test1.html (file in product folder)
test2.html (file in product folder)
event (subfolder in testproject )
product.html (file in testproject folder)
我想将 1) /product/integration/ 重定向到http://test.testproject.net/product/integrations.html
Redirect 301 /product/integration/ http://test.testproject.net/product/integrations.html
2) /product 到http://test.testproject.net/product
Redirect 301 /product http://test.testproject.net/product.html
我在 htaccess 中有两个重定向规则。在访问 /product/integration/ 时
它重定向到http://test.testproject.net/product.html//integration.html显示未找到错误
呼唤远方