-1
我有幾個重寫規則問題,使用下面的簡單URL。 PHP $_GET['id']
未分配。在子目錄下重寫URL
URL
https://dev.sys/member/profile.php?id=252972
預計乾淨URL
https://dev.sys/member/profile/252972
規則:
RewriteEngine On
RewriteRule `[0-9]+(?:\.[0-9]*)? page.php?id=$1`
非常感謝。我換成([0-9] +)解決問題 – kizaten