<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On

#排除static|themes|uploads目录
RewriteCond $1 !^(static|themes|uploads) 
#重写规则
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>

 

相关文章:

  • 2021-05-29
  • 2021-07-05
  • 2021-08-15
  • 2022-12-23
  • 2021-08-10
  • 2022-01-31
猜你喜欢
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
相关资源
相似解决方案