这是我的原始链接:
http://localhost/m/news/berita/lorem-ipsum-dolor-sit-amet,-consectetur-adipisicing-elit,-sed-do-2
我想更改为:
RewriteEngine On
RewriteRule ^([^\.]+)$ $1.php [NC,L]
RewriteRule ^/berita/([^/]+)$ /detail-news?q=$1 [L]
我已经使用过这种尚未使用的方法:
getContentPane().removeAll();
但是我上面使用的htaccess无法正常工作,有人知道解决方案和问题吗?