更新时间:2023-09-18 23:32:28
您将需要上述使用案例的附加规则。将这一规则的您现有的规则上面
You will need an additional rule for above use case. Insert this rule above your existing rule:
RewriteCond %{QUERY_STRING} ^_escaped_fragment_=/$ [NC]
RewriteRule ^ /snapshots/index.html? [NC,L]
RewriteCond %{QUERY_STRING} ^_escaped_fragment_=/?(.+)$ [NC]
RewriteRule ^ /snapshots/%1.html? [NC,L]