Skip to content

Instantly share code, notes, and snippets.

@pandanote-info
Last active November 7, 2018 13:06
Show Gist options
  • Save pandanote-info/ae818561bf32e7bc55686d5a4381fd53 to your computer and use it in GitHub Desktop.
Save pandanote-info/ae818561bf32e7bc55686d5a4381fd53 to your computer and use it in GitHub Desktop.
https://pandanote.info/?page_id=1874 へのアクセスを https://pandanote.info/catchphrase へ301リダイレクトするための設定。
# Redirection for "catchphrase".
RewriteCond %{QUERY_STRING} ^((?:[^&]*&)*)page_id=1874&?(.*)$
RewriteRule ^.*$ /catchphrase?%1%2 [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment