Creating rewrite that excludes adding trailing slash before query string or at the end of a file name in htaaccess

前端 未结 0 1164
一向
一向 2020-12-03 01:20

Here are the current rules I have:

RewriteEngine On

# add www, https, trailing slash
RewriteCond %{HTTPS} !on [OR]
RewriteCond %{HTTP_HOST} !^www\\. [NC,OR]
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题