更新时间:2023-10-21 17:17:22
将所有 Redirect 301 规则更改为:
Redirect 301
Changed all Redirect 301 rules to:
RewriteRule ^/page1.html$ /dir1/page.html [R=301,L]
现在工作.但它如何在生产中发挥作用?
now working. But how does it work on production?
.htaccess 中的重定向 301 导致 500 服务器错误(重定向到非 URL)