我有一些網址,像這樣的: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