Skip to content

Instantly share code, notes, and snippets.

@pandanote-info
Last active November 7, 2018 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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