将不带通配符的子文件夹重定向到主 URL



需要重定向如下:

https://example.com/m/自 https://example.com

但不是

https://example.com/m/(.*(

像这样尝试:

RewriteEngine On RewriteRule ^m/$ https://example.com/ [R=301,L]

我认为现在的工作方式是这样的:

RewriteRule ^m/$ "https://londonreal.tv/" [R=301,L]

所以基本上不得不逃跑!

最新更新