RewriteRule causes page to reload twice

后端 未结 3 1868
傲寒
傲寒 2020-12-07 02:04

I shaped two different RewriteRules for my page:

# Enable URL Rewriting
RewriteEngine on

# exclude followed stuff
RewriteRule ^(js|img|css|favicon\\.ico|ima         


        
3条回答
  •  遥遥无期
    2020-12-07 02:41

    I had the same issue (or so I thought). It was caused by the request for favicon.ico, which I hadn't considered in my rewrite rule.

提交回复
热议问题