http://example.com/12345/sample/index.html を
http://example.com/sample/index.html?id=12345
http://example.com/49281/sample/test1/input.html?name=abc&kana=efgを、
http://example.com/sample/test1/input.html?name=abc&kana=efg&id=49281
と、いった規則で書き換えたいと考えております。
http://example.com/xxxx/ の部分を、パラメータidにして、
各URLに渡したいのですが、mod_rewriteの書き方がわかりません。
お手数ですが、教えていただけないでしょうか?
コメント(0件)