Last active
November 7, 2018 13:06
-
-
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 に転送するための設定。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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