Skip to content

Instantly share code, notes, and snippets.

@pandanote-info
Last active November 7, 2018 13:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save pandanote-info/d4d0e0df56c61780dcffe91976925a03 to your computer and use it in GitHub Desktop.
https://pandanote.info/catchphrase へのアクセスをクライアントに知らせることなく、https://pandanote.info/index.php?page_id=1874 に転送するための設定。
RewriteEngine on
# その他の設定
# Redirection for "catchphrase".
RewriteRule ^/catchphrase[^/]*$ /index.php?page_id=1874 [L,QSA]
<LocationMatch /catchphrase>
Require all granted
</LocationMatch>
<Location />
DirectorySlash Off
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment