我剛來(lái).htaccess。我需要一些重寫(xiě)規(guī)則URLs。我用了Google,并應(yīng)用了但網(wǎng)址沒(méi)有變化。我想要:demo.example.com/section.php?id=1 變成:demo.example.com/section/sample-section我試過(guò)了RewriteCond %{SCRIPT_FILENAME} !-dRewriteCond %{SCRIPT_FILENAME} !-fRewriteRule ^section/(\d+)*$ ./section.php?id=$1但沒(méi)有區(qū)別謝謝。感謝您的幫助。
添加回答
舉報(bào)
0/150
提交
取消