我有一些网址,像这样的:htaccess的mod_rewrite的部分GET变量
http://plutov.by/post/cubique_zf_jquery
http://plutov.by/post/mysql_useful_queries
我怎么能与Apache的mod_rewrite的帮助下打开下一个页面?
http://plutov.by/post/main?title=cubique_zf_jquery
http://plutov.by/post/main?title=mysql_useful_queries
此外,将与 “一个入口点改写” 这一新的重写规则的工作?
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
谢谢。
如果您不关心现有查询字符串,则QSA标记不是必需的。 – ADTC 2016-12-11 08:47:58