2016-11-08から1日間の記事一覧
Redirect permanent とか RedirectMatch permanent だと だめっぽくて RewriteCond %{QUERY_STRING} id=([0-9]{3})&name=([a-z]+)$ RewriteRule ^foo/index.html$ /foo/%2/%1.html? [R=301,L] ならいけるみたい。 パラメータ付きは %{QUERY_STRING} で処理し…
Redirect permanent とか RedirectMatch permanent だと だめっぽくて RewriteCond %{QUERY_STRING} id=([0-9]{3})&name=([a-z]+)$ RewriteRule ^foo/index.html$ /foo/%2/%1.html? [R=301,L] ならいけるみたい。 パラメータ付きは %{QUERY_STRING} で処理し…