1
我已经重写.htaccess
状部分:的.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]
有没有什么办法让它simplier(一行),以更容易修改?
非常感谢您
太好了,谢谢。 所以在PHP中,我将'只'使用!empty()而不是isset()。 – Gomi