我重写了部分内容.htaccess
:
RewriteRule ^content/([^/]+)/([^/]+)/?$ /index.php?section=clanky&page=$1&id=$2 [L]
RewriteRule ^content/([^/]+)/?$ /index.php?section=clanky&page=$1 [L]
RewriteRule ^content/?$ /index.php?section=clanky [L]
有什么方法可以使它更简单(一行)更容易修改?
非常感谢