Created
February 20, 2014 12:27
-
-
Save hideki-a/9112410 to your computer and use it in GitHub Desktop.
MTのタグ検索ページを/tag/(タグ)/page/(ページ数)/のようなパスで表示する
This file contains 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
server { | |
server_name www.anothersky.pw; | |
# 掲載省略 | |
rewrite ^/tag/(.*?)/?(page/([0-9]+)/?)?$ /mt/mt-search.cgi?tag=$1&IncludeBlogs=1,2&page=$3 last; | |
# 掲載省略 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment