RewriteRule page/([0-9]+)$ page.php?id=$1
それは機能しますが、cssやjsのような含まれているリンクは機能しません。page/はフォルダのように見えるため、リンク(例:)<link rel="stylesheet" type="text/css" media="screen" href="css/default.css" />が見つかりません。
別の例:「id」が存在しない場合、これを実行しErrorDocument 403 /notfound.phpますが、にリダイレクトされdomain.com/page/notfound.phpます。この問題を解決するにはどうすればよいですか?