permalinkを残したまま記事非公開化
find-travel.jpというキュレーションサイトの非公開化の対応。
サイト閉鎖ではなくて、非公開化というのが、ポイント。
重要なお知らせベージをのぞいて、全て302で / にリダイレクトする。
404にはならないので、これまでの検索エンジンのインデックスが保持されるという期待なのかな?実際どうなるのだろう...
インデックスが命だから、なんとか、有効なうちに復活させたいのだろうけど、量が多いだけに大変そうだなあ。
人気キーワード順に、対応することになるのかな。
担当者のみなさま、対応ご苦労様です。
curl "http://find-travel.jp/about/corporate" -v * Trying 54.249.89.197... * Connected to find-travel.jp (54.249.89.197) port 80 (#0) > GET /about/corporate HTTP/1.1 > Host: find-travel.jp > User-Agent: curl/7.43.0 > Accept: */* > < HTTP/1.1 302 Moved Temporarily < Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 < Content-Type: text/html < Date: Sat, 03 Dec 2016 00:51:39 GMT < Expires: Thu, 19 Nov 1981 08:52:00 GMT < Location: / < Pragma: no-cache < Server: find-travel.jp < Set-Cookie: SESSFT=omgu41sh1ku5ab6q9na14pt575; expires=Mon, 03-Dec-2018 00:51:39 GMT; Max-Age=63072000; path=/ < Content-Length: 0 < Connection: keep-alive < * Connection #0 to host find-travel.jp left intact
「京都 travel」でgoogleで検索すると、
2016/12/3 10:00am 現在 8位に Find Travelのサイトが存在している
京都観光のおすすめスポット - Find Travel [はてなブックマークで表示] [このエントリーのコメント一覧をポップアップ表示]
find-travel.jp › 近畿観光
Translate this page
京都のおすすめ観光スポットや宿泊情報をまとめました。日本三景の一つの 天橋立や京都の観光名所として有名な嵐山・清水寺・金閣寺・銀閣寺などの、京都の観光で役立つ情報を豊富に取り揃えています!京都に行ったらまず何をしよう?どんな見所がある ...
今後どうなるのかなあ。
「302 Moved Temporarily」
で、googleがいつまで待ってくれるのか、気になる
ちなみにリダイレクトしないのは以下の重要なお知らせベージ
curl "http://find-travel.jp/about/corporate" -v * Trying 54.249.89.197... * Connected to find-travel.jp (54.249.89.197) port 80 (#0) > GET /about/corporate HTTP/1.1 > Host: find-travel.jp > User-Agent: curl/7.43.0 > Accept: */* > < HTTP/1.1 302 Moved Temporarily < Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 < Content-Type: text/html < Date: Sat, 03 Dec 2016 00:51:39 GMT < Expires: Thu, 19 Nov 1981 08:52:00 GMT < Location: / < Pragma: no-cache < Server: find-travel.jp < Set-Cookie: SESSFT=omgu41sh1ku5ab6q9na14pt575; expires=Mon, 03-Dec-2018 00:51:39 GMT; Max-Age=63072000; path=/ < Content-Length: 0 < Connection: keep-alive < * Connection #0 to host find-travel.jp left intact ➜ kaizen-instant curl "http://find-travel.jp/article/53097" -v * Trying 52.69.125.182... * Connected to find-travel.jp (52.69.125.182) port 80 (#0) > GET /article/53097 HTTP/1.1 > Host: find-travel.jp > User-Agent: curl/7.43.0 > Accept: */* > < HTTP/1.1 200 OK < Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 < Content-Type: text/html < Date: Sat, 03 Dec 2016 00:54:16 GMT < Expires: Thu, 19 Nov 1981 08:52:00 GMT < Pragma: no-cache < Server: find-travel.jp < Set-Cookie: SESSFT=14b5fe3ob65bnbtrv7aqkofqt4; expires=Mon, 03-Dec-2018 00:54:16 GMT; Max-Age=63072000; path=/ < Set-Cookie: ft_uuid=931c63b1-3ca5-44b2-b204-ae71cceb5a7b; expires=Sun, 03-Dec-2017 00:54:16 GMT; Max-Age=31536000; path=/ < Set-Cookie: ft_lsvt=1480726456; expires=Sun, 03-Dec-2017 00:54:16 GMT; Max-Age=31536000; path=/ < Set-Cookie: ft_lpid=article.get_view.53097; expires=Sat, 03-Dec-2016 01:04:16 GMT; Max-Age=600; path=/ < transfer-encoding: chunked < Connection: keep-alive <
google のクローラーにだけは、記事公開したてりしてとおもったけど、さすがにそんなことはない。
思いついても、さすがにやらないですよね
curl -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "https://find-travel.jp/area/hokkaido/hokkaido" -v * Trying 52.69.125.182... * Connected to find-travel.jp (52.69.125.182) port 443 (#0) * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Server certificate: *.find-travel.jp * Server certificate: Symantec Class 3 Secure Server CA - G4 * Server certificate: VeriSign Class 3 Public Primary Certification Authority - G5 > GET /area/hokkaido/hokkaido HTTP/1.1 > Host: find-travel.jp > User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) > Accept: */* > < HTTP/1.1 302 Moved Temporarily < Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 < Content-Type: text/html < Date: Sat, 03 Dec 2016 01:14:20 GMT < Expires: Thu, 19 Nov 1981 08:52:00 GMT < Location: / < Pragma: no-cache < Server: find-travel.jp < Set-Cookie: SESSFT=ch9iduim7ripguuag43isjhil6; expires=Mon, 03-Dec-2018 01:14:20 GMT; Max-Age=63072000; path=/ < Content-Length: 0 < Connection: keep-alive < * Connection #0 to host find-travel.jp left intact