(記事)WordPressによる内部自動リダイレクト
WordPressにはURL形式をパーマリンク設定から変更することができます。
パーマリンク設定は変更するとURL形式が変更されますが、
デフォルトのURLによるアクセスが自動的にリダイレクトされるようになっています。
ここでは「個別投稿(記事)」のURL形式が自動的に転送されることを確認します。
(記事)WordPressによる内部自動リダイレクト
WordPressのパーマリンク設定は5種類から選択できます。
5種類のパーマリンク設定がデフォルトのURL形式からでも、
自動転送されてアクセスが行えることを確認します。
デフォルト
パーマリンク設定を「デフォルト」とした場合、
特にリダイレクトは発生しません。
このURL形式がWordPressの基本となっています。
cURLでアクセスしステータスコードを確認しても、
正しく301による恒久転送が行われています。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
HTTP/1.1 200 OK Date: Sat, 20 Dec 2014 11:25:58 GMT Server: Apache X-Powered-By: PHP/5.3.3 X-Pingback: http://url-default.rensrv.com/wdps/xmlrpc.php Link: <http://url-default.rensrv.com/?p=35>; rel=shortlink Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 <!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" lang="ja"> <![endif]--> <!--[if IE 8]> <html class="ie ie8" lang="ja"> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html lang="ja"> <!--<![endif]--> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width"> <title>カテゴリ・タグURL確認用 | デフォルト(パーマリンク検証環境)</title> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="http://url-default.rensrv.com/wdps/xmlrpc.php"> <!--[if lt IE 9]> <script src="http://url-default.rensrv.com/wdps/wp-content/themes/twentyfourteen/js/html5.js"></script> <![endif]--> <meta name='robots' content='noindex,follow' /> <link rel="alternate" type="application/rss+xml" title="デフォルト(パーマリンク検証環境) » フィード" href="http://url-default.rensrv.com/?feed=rss2" /> <link rel="alternate" type="application/rss+xml" title="デフォルト(パーマリンク検証環境) » コメントフィード" href="http://url-default.rensrv.com/?feed=comments-rss2" /> <link rel='stylesheet' id='twentyfourteen-lato-css' href='//fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C900%2C300italic%2C400italic%2C700italic' type='text/css' media='all' /> <link rel='stylesheet' id='genericons-css' href='http://url-default.rensrv.com/wdps/wp-content/themes/twentyfourteen/genericons/genericons.css?ver=3.0.2' type='text/css' media='all' /> <link rel='stylesheet' id='twentyfourteen-style-css' href='http://url-default.rensrv.com/wdps/wp-content/themes/twentyfourteen/style.css?ver=3.9.2' type='text/css' media='all' /> <!--[if lt IE 9]> <link rel='stylesheet' id='twentyfourteen-ie-css' href='http://url-default.rensrv.com/wdps/wp-content/themes/twentyfourteen/css/ie.css?ver=20131205' type='text/css' media='all' /> <![endif]--> <script type='text/javascript' src='http://url-default.rensrv.com/wdps/wp-includes/js/jquery/jquery.js?ver=1.11.0'></script> <script type='text/javascript' src='http://url-default.rensrv.com/wdps/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://url-default.rensrv.com/wdps/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://url-default.rensrv.com/wdps/wp-includes/wlwmanifest.xml" /> <link rel='prev' title='116(mod_rewrite x デフォルト) URL転送検証用' href='http://url-default.rensrv.com/?p=18' /> <link rel='next' title='(デフォルト)WordPressによる内部自動リダイレクト確認投稿' href='http://url-default.rensrv.com/?p=41' /> <meta name="generator" content="WordPress 3.9.2" /> <link rel='canonical' href='http://url-default.rensrv.com/?p=35' /> <link rel='shortlink' href='http://url-default.rensrv.com/?p=35' /> <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style> </head> <body class="single single-post postid-35 single-format-standard masthead-fixed full-width singular"> <div id="page" class="hfeed site"> <header id="masthead" class="site-header" role="banner"> <div class="header-main"> <h1 class="site-title"><a href="http://url-default.rensrv.com/" rel="home">デフォルト(パーマリンク検証環境)</a></h1> <div class="search-toggle"> <a href="#search-container" class="screen-reader-text">検索</a> </div> <nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation"> <button class="menu-toggle">メインメニュー</button> <a class="screen-reader-text skip-link" href="#content">コンテンツへ移動</a> <div class="nav-menu"><ul><li class="page_item page-item-2"><a href="http://url-default.rensrv.com/?page_id=2">サンプルページ</a></li></ul></div> </nav> </div> <div id="search-container" class="search-box-wrapper hide"> <div class="search-box"> <form role="search" method="get" class="search-form" action="http://url-default.rensrv.com/"> <label> <span class="screen-reader-text">検索:</span> <input type="search" class="search-field" placeholder="検索 …" value="" name="s" title="検索:" /> </label> <input type="submit" class="search-submit" value="検索" /> </form> </div> </div> </header><!-- #masthead --> <div id="main" class="site-main"> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <article id="post-35" class="post-35 post type-post status-publish format-standard hentry category-category_name category-3 tag-tag_name tag-5"> <header class="entry-header"> <div class="entry-meta"> <span class="cat-links"><a href="http://url-default.rensrv.com/?cat=2" title="category_name の投稿をすべて表示" rel="category">category_name</a>, <a href="http://url-default.rensrv.com/?cat=3" title="カテゴリ名 の投稿をすべて表示" rel="category">カテゴリ名</a></span> </div> <h1 class="entry-title">カテゴリ・タグURL確認用</h1> <div class="entry-meta"> <span class="entry-date"><a href="http://url-default.rensrv.com/?p=35" rel="bookmark"><time class="entry-date" datetime="2014-12-11T16:14:15+00:00">2014/12/11</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="http://url-default.rensrv.com/?author=1" rel="author">algorhythnn</a></span></span> </div><!-- .entry-meta --> </header><!-- .entry-header --> <div class="entry-content"> <p>本投稿は「カテゴリ・タグURL確認用」の投稿です。</p> </div><!-- .entry-content --> <footer class="entry-meta"><span class="tag-links"><a href="http://url-default.rensrv.com/?tag=tag_name" rel="tag">tag_name</a><a href="http://url-default.rensrv.com/?tag=%e3%82%bf%e3%82%b0%e5%90%8d" rel="tag">タグ名</a></span></footer></article><!-- #post-## --> <nav class="navigation post-navigation" role="navigation"> <h1 class="screen-reader-text">投稿ナビゲーション</h1> <div class="nav-links"> <a href="http://url-default.rensrv.com/?p=18" rel="prev"><span class="meta-nav">前の投稿</span>116(mod_rewrite x デフォルト) URL転送検証用</a><a href="http://url-default.rensrv.com/?p=41" rel="next"><span class="meta-nav">次の投稿</span>(デフォルト)WordPressによる内部自動リダイレクト確認投稿</a> </div><!-- .nav-links --> </nav><!-- .navigation --> </div><!-- #content --> </div><!-- #primary --> <div id="secondary"> <h2 class="site-description">デフォルト(パーマリンク検証環境)</h2> <div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary"> <aside id="search-2" class="widget widget_search"><form role="search" method="get" class="search-form" action="http://url-default.rensrv.com/"> <label> <span class="screen-reader-text">検索:</span> <input type="search" class="search-field" placeholder="検索 …" value="" name="s" title="検索:" /> </label> <input type="submit" class="search-submit" value="検索" /> </form></aside> <aside id="recent-posts-2" class="widget widget_recent_entries"> <h1 class="widget-title">最近の投稿</h1> <ul> <li> <a href="http://url-default.rensrv.com/?p=41">(デフォルト)WordPressによる内部自動リダイレクト確認投稿</a> </li> <li> <a href="http://url-default.rensrv.com/?p=35">カテゴリ・タグURL確認用</a> </li> <li> <a href="http://url-default.rensrv.com/?p=18">116(mod_rewrite x デフォルト) URL転送検証用</a> </li> <li> <a href="http://url-default.rensrv.com/?p=17">111(Redirect Match x デフォルト) URL転送検証用</a> </li> <li> <a href="http://url-default.rensrv.com/?p=16">106(RedirectPermanent x デフォルト) URL転送検証用</a> </li> </ul> </aside><aside id="recent-comments-2" class="widget widget_recent_comments"><h1 class="widget-title">最近のコメント</h1><ul id="recentcomments"><li class="recentcomments"><a href="http://url-default.rensrv.com/?p=1#comment-1">Hello world!</a> に <a href='https://wordpress.org/' rel='external nofollow' class='url'>Mr WordPress</a> より</li></ul></aside><aside id="archives-2" class="widget widget_archive"><h1 class="widget-title">アーカイブ</h1> <ul> <li><a href='http://url-default.rensrv.com/?m=201412'>2014年12月</a></li> <li><a href='http://url-default.rensrv.com/?m=201410'>2014年10月</a></li> </ul> </aside><aside id="categories-2" class="widget widget_categories"><h1 class="widget-title">カテゴリー</h1> <ul> <li class="cat-item cat-item-2"><a href="http://url-default.rensrv.com/?cat=2" title="category_name に含まれる投稿をすべて表示">category_name</a> </li> <li class="cat-item cat-item-3"><a href="http://url-default.rensrv.com/?cat=3" title="カテゴリ名 に含まれる投稿をすべて表示">カテゴリ名</a> </li> <li class="cat-item cat-item-1"><a href="http://url-default.rensrv.com/?cat=1" title="未分類 に含まれる投稿をすべて表示">未分類</a> </li> </ul> </aside><aside id="tag_cloud-2" class="widget widget_tag_cloud"><h1 class="widget-title">タグ</h1><div class="tagcloud"><a href='http://url-default.rensrv.com/?tag=tag_name' class='tag-link-4' title='2件のトピック' style='font-size: 8pt;'>tag_name</a> <a href='http://url-default.rensrv.com/?tag=%e3%82%bf%e3%82%b0%e5%90%8d' class='tag-link-5' title='2件のトピック' style='font-size: 8pt;'>タグ名</a></div> </aside><aside id="meta-2" class="widget widget_meta"><h1 class="widget-title">メタ情報</h1> <ul> <li><a href="http://url-default.rensrv.com/wdps/wp-login.php">ログイン</a></li> <li><a href="http://url-default.rensrv.com/?feed=rss2" title="このサイトを RSS2.0 で購読">投稿の <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="http://url-default.rensrv.com/?feed=comments-rss2" title="すべての投稿への最新コメントを RSS で購読">コメントの <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="https://ja.wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li> </ul> </aside> </div><!-- #primary-sidebar --> </div><!-- #secondary --> </div><!-- #main --> <footer id="colophon" class="site-footer" role="contentinfo"> <div class="site-info"> <a href="http://ja.wordpress.org/">Proudly powered by WordPress</a> </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> <script type='text/javascript' src='http://url-default.rensrv.com/wdps/wp-content/themes/twentyfourteen/js/functions.js?ver=20140319'></script> </body> </html> |
月と投稿名
パーマリンク設定を「月と投稿名」とした場合でも、
デフォルト形式のURLでアクセスしても正しくページが表示されます。
サイトで公開しているURL形式では以下のようなURLで公開されています。
http://url-monthpost.rensrv.com/2014/12/auto-redirect/
以下のようなURLでアクセスをしても正しくページが表示されます。
cURLでアクセスしステータスコードを確認しても、
正しく301による恒久転送が行われています。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
HTTP/1.1 301 Moved Permanently Date: Sat, 20 Dec 2014 11:26:05 GMT Server: Apache X-Powered-By: PHP/5.3.3 X-Pingback: http://url-monthpost.rensrv.com/wdps/xmlrpc.php Location: http://url-monthpost.rensrv.com/2014/12/auto-redirect/ Content-Length: 0 Content-Type: text/html; charset=UTF-8 HTTP/1.1 200 OK Date: Sat, 20 Dec 2014 11:26:06 GMT Server: Apache X-Powered-By: PHP/5.3.3 X-Pingback: http://url-monthpost.rensrv.com/wdps/xmlrpc.php Link: <http://url-monthpost.rensrv.com/?p=21>; rel=shortlink Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 <!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" lang="ja"> <![endif]--> <!--[if IE 8]> <html class="ie ie8" lang="ja"> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html lang="ja"> <!--<![endif]--> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width"> <title>(月と投稿名)WordPressによる内部自動リダイレクト確認投稿 | 月と投稿名(パーマリンク検証環境)</title> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="http://url-monthpost.rensrv.com/wdps/xmlrpc.php"> <!--[if lt IE 9]> <script src="http://url-monthpost.rensrv.com/wdps/wp-content/themes/twentyfourteen/js/html5.js"></script> <![endif]--> <meta name='robots' content='noindex,follow' /> <link rel="alternate" type="application/rss+xml" title="月と投稿名(パーマリンク検証環境) » フィード" href="http://url-monthpost.rensrv.com/feed/" /> <link rel="alternate" type="application/rss+xml" title="月と投稿名(パーマリンク検証環境) » コメントフィード" href="http://url-monthpost.rensrv.com/comments/feed/" /> <link rel='stylesheet' id='twentyfourteen-lato-css' href='//fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C900%2C300italic%2C400italic%2C700italic' type='text/css' media='all' /> <link rel='stylesheet' id='genericons-css' href='http://url-monthpost.rensrv.com/wdps/wp-content/themes/twentyfourteen/genericons/genericons.css?ver=3.0.2' type='text/css' media='all' /> <link rel='stylesheet' id='twentyfourteen-style-css' href='http://url-monthpost.rensrv.com/wdps/wp-content/themes/twentyfourteen/style.css?ver=3.9.2' type='text/css' media='all' /> <!--[if lt IE 9]> <link rel='stylesheet' id='twentyfourteen-ie-css' href='http://url-monthpost.rensrv.com/wdps/wp-content/themes/twentyfourteen/css/ie.css?ver=20131205' type='text/css' media='all' /> <![endif]--> <script type='text/javascript' src='http://url-monthpost.rensrv.com/wdps/wp-includes/js/jquery/jquery.js?ver=1.11.0'></script> <script type='text/javascript' src='http://url-monthpost.rensrv.com/wdps/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://url-monthpost.rensrv.com/wdps/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://url-monthpost.rensrv.com/wdps/wp-includes/wlwmanifest.xml" /> <link rel='prev' title='カテゴリ・タグURL確認用' href='http://url-monthpost.rensrv.com/2014/12/cate-tag-check/' /> <meta name="generator" content="WordPress 3.9.2" /> <link rel='canonical' href='http://url-monthpost.rensrv.com/2014/12/auto-redirect/' /> <link rel='shortlink' href='http://url-monthpost.rensrv.com/?p=21' /> <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style> </head> <body class="single single-post postid-21 single-format-standard masthead-fixed full-width singular"> <div id="page" class="hfeed site"> <header id="masthead" class="site-header" role="banner"> <div class="header-main"> <h1 class="site-title"><a href="http://url-monthpost.rensrv.com/" rel="home">月と投稿名(パーマリンク検証環境)</a></h1> <div class="search-toggle"> <a href="#search-container" class="screen-reader-text">検索</a> </div> <nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation"> <button class="menu-toggle">メインメニュー</button> <a class="screen-reader-text skip-link" href="#content">コンテンツへ移動</a> <div class="nav-menu"><ul><li class="page_item page-item-2"><a href="http://url-monthpost.rensrv.com/sample-page/">サンプルページ</a></li></ul></div> </nav> </div> <div id="search-container" class="search-box-wrapper hide"> <div class="search-box"> <form role="search" method="get" class="search-form" action="http://url-monthpost.rensrv.com/"> <label> <span class="screen-reader-text">検索:</span> <input type="search" class="search-field" placeholder="検索 …" value="" name="s" title="検索:" /> </label> <input type="submit" class="search-submit" value="検索" /> </form> </div> </div> </header><!-- #masthead --> <div id="main" class="site-main"> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <article id="post-21" class="post-21 post type-post status-publish format-standard hentry category-category_name category-3 tag-tag_name tag-5"> <header class="entry-header"> <div class="entry-meta"> <span class="cat-links"><a href="http://url-monthpost.rensrv.com/category/category_name/" title="category_name の投稿をすべて表示" rel="category tag">category_name</a>, <a href="http://url-monthpost.rensrv.com/category/%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e5%90%8d/" title="カテゴリ名 の投稿をすべて表示" rel="category tag">カテゴリ名</a></span> </div> <h1 class="entry-title">(月と投稿名)WordPressによる内部自動リダイレクト確認投稿</h1> <div class="entry-meta"> <span class="entry-date"><a href="http://url-monthpost.rensrv.com/2014/12/auto-redirect/" rel="bookmark"><time class="entry-date" datetime="2014-12-20T16:05:33+00:00">2014/12/20</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="http://url-monthpost.rensrv.com/author/algorhythnn/" rel="author">algorhythnn</a></span></span> </div><!-- .entry-meta --> </header><!-- .entry-header --> <div class="entry-content"> <p>本投稿は「WordPressによる内部自動リダイレクト確認」用投稿です。</p> <p>以下投稿からのサンプルとして利用しています。</p> <p>「<a title="WordPressによる内部自動リダイレクトの種類とパターン" href="http://rensrv.com/wp/wp-auto-redirect-pattern/" target="_blank">WordPressによる内部自動リダイレクトの種類とパターン</a>」</p> <p>これはパーマリンク・月と投稿名環境による投稿です</p> </div><!-- .entry-content --> <footer class="entry-meta"><span class="tag-links"><a href="http://url-monthpost.rensrv.com/tag/tag_name/" rel="tag">tag_name</a><a href="http://url-monthpost.rensrv.com/tag/%e3%82%bf%e3%82%b0%e5%90%8d/" rel="tag">タグ名</a></span></footer></article><!-- #post-## --> <nav class="navigation post-navigation" role="navigation"> <h1 class="screen-reader-text">投稿ナビゲーション</h1> <div class="nav-links"> <a href="http://url-monthpost.rensrv.com/2014/12/cate-tag-check/" rel="prev"><span class="meta-nav">前の投稿</span>カテゴリ・タグURL確認用</a> </div><!-- .nav-links --> </nav><!-- .navigation --> </div><!-- #content --> </div><!-- #primary --> <div id="secondary"> <h2 class="site-description">月と投稿名(パーマリンク検証環境)</h2> <div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary"> <aside id="search-2" class="widget widget_search"><form role="search" method="get" class="search-form" action="http://url-monthpost.rensrv.com/"> <label> <span class="screen-reader-text">検索:</span> <input type="search" class="search-field" placeholder="検索 …" value="" name="s" title="検索:" /> </label> <input type="submit" class="search-submit" value="検索" /> </form></aside> <aside id="recent-posts-2" class="widget widget_recent_entries"> <h1 class="widget-title">最近の投稿</h1> <ul> <li> <a href="http://url-monthpost.rensrv.com/2014/12/auto-redirect/">(月と投稿名)WordPressによる内部自動リダイレクト確認投稿</a> </li> <li> <a href="http://url-monthpost.rensrv.com/2014/12/cate-tag-check/">カテゴリ・タグURL確認用</a> </li> <li> <a href="http://url-monthpost.rensrv.com/2014/12/117-redirect-datepost/">117(mod_rewrite x 日付と投稿名) URL転送検証用</a> </li> <li> <a href="http://url-monthpost.rensrv.com/2014/12/112-redirect-datepost/">112(Redirect Match x 日付と投稿名) URL転送検証用</a> </li> <li> <a href="http://url-monthpost.rensrv.com/2014/12/107-redirect-datepost/">107(RedirectPermanent x 日付と投稿名) URL転送検証用</a> </li> </ul> </aside><aside id="recent-comments-2" class="widget widget_recent_comments"><h1 class="widget-title">最近のコメント</h1><ul id="recentcomments"><li class="recentcomments"><a href="http://url-monthpost.rensrv.com/2014/10/hello-world/#comment-1">Hello world!</a> に <a href='https://wordpress.org/' rel='external nofollow' class='url'>Mr WordPress</a> より</li></ul></aside><aside id="archives-2" class="widget widget_archive"><h1 class="widget-title">アーカイブ</h1> <ul> <li><a href='http://url-monthpost.rensrv.com/2014/12/'>2014年12月</a></li> <li><a href='http://url-monthpost.rensrv.com/2014/10/'>2014年10月</a></li> </ul> </aside><aside id="categories-2" class="widget widget_categories"><h1 class="widget-title">カテゴリー</h1> <ul> <li class="cat-item cat-item-2"><a href="http://url-monthpost.rensrv.com/category/category_name/" title="category_name に含まれる投稿をすべて表示">category_name</a> </li> <li class="cat-item cat-item-3"><a href="http://url-monthpost.rensrv.com/category/%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e5%90%8d/" title="カテゴリ名 に含まれる投稿をすべて表示">カテゴリ名</a> </li> <li class="cat-item cat-item-1"><a href="http://url-monthpost.rensrv.com/category/%e6%9c%aa%e5%88%86%e9%a1%9e/" title="未分類 に含まれる投稿をすべて表示">未分類</a> </li> </ul> </aside><aside id="tag_cloud-2" class="widget widget_tag_cloud"><h1 class="widget-title">タグ</h1><div class="tagcloud"><a href='http://url-monthpost.rensrv.com/tag/tag_name/' class='tag-link-4' title='2件のトピック' style='font-size: 8pt;'>tag_name</a> <a href='http://url-monthpost.rensrv.com/tag/%e3%82%bf%e3%82%b0%e5%90%8d/' class='tag-link-5' title='2件のトピック' style='font-size: 8pt;'>タグ名</a></div> </aside><aside id="meta-2" class="widget widget_meta"><h1 class="widget-title">メタ情報</h1> <ul> <li><a href="http://url-monthpost.rensrv.com/wdps/wp-login.php">ログイン</a></li> <li><a href="http://url-monthpost.rensrv.com/feed/" title="このサイトを RSS2.0 で購読">投稿の <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="http://url-monthpost.rensrv.com/comments/feed/" title="すべての投稿への最新コメントを RSS で購読">コメントの <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="https://ja.wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li> </ul> </aside> </div><!-- #primary-sidebar --> </div><!-- #secondary --> </div><!-- #main --> <footer id="colophon" class="site-footer" role="contentinfo"> <div class="site-info"> <a href="http://ja.wordpress.org/">Proudly powered by WordPress</a> </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> <script type='text/javascript' src='http://url-monthpost.rensrv.com/wdps/wp-content/themes/twentyfourteen/js/functions.js?ver=20140319'></script> </body> </html> |
数字ベース
パーマリンク設定を「数字ベース」とした場合でも、
デフォルト形式のURLでアクセスしても正しくページが表示されます。
サイトで公開しているURL形式では以下のようなURLで公開されています。
http://url-unmbase.rensrv.com/archives/21
以下のようなURLでアクセスをしても正しくページが表示されます。
cURLでアクセスしステータスコードを確認しても、
正しく301による恒久転送が行われています。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
HTTP/1.1 301 Moved Permanently Date: Sat, 20 Dec 2014 11:26:07 GMT Server: Apache X-Powered-By: PHP/5.3.3 X-Pingback: http://url-unmbase.rensrv.com/wdps/xmlrpc.php Location: http://url-unmbase.rensrv.com/archives/21 Content-Length: 0 Content-Type: text/html; charset=UTF-8 HTTP/1.1 200 OK Date: Sat, 20 Dec 2014 11:26:07 GMT Server: Apache X-Powered-By: PHP/5.3.3 X-Pingback: http://url-unmbase.rensrv.com/wdps/xmlrpc.php Link: <http://url-unmbase.rensrv.com/?p=21>; rel=shortlink Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 <!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" lang="ja"> <![endif]--> <!--[if IE 8]> <html class="ie ie8" lang="ja"> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html lang="ja"> <!--<![endif]--> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width"> <title>(数字ベース)WordPressによる内部自動リダイレクト確認投稿 | 数字ベース(パーマリンク検証環境)</title> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="http://url-unmbase.rensrv.com/wdps/xmlrpc.php"> <!--[if lt IE 9]> <script src="http://url-unmbase.rensrv.com/wdps/wp-content/themes/twentyfourteen/js/html5.js"></script> <![endif]--> <meta name='robots' content='noindex,follow' /> <link rel="alternate" type="application/rss+xml" title="数字ベース(パーマリンク検証環境) » フィード" href="http://url-unmbase.rensrv.com/feed" /> <link rel="alternate" type="application/rss+xml" title="数字ベース(パーマリンク検証環境) » コメントフィード" href="http://url-unmbase.rensrv.com/comments/feed" /> <link rel='stylesheet' id='twentyfourteen-lato-css' href='//fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C900%2C300italic%2C400italic%2C700italic' type='text/css' media='all' /> <link rel='stylesheet' id='genericons-css' href='http://url-unmbase.rensrv.com/wdps/wp-content/themes/twentyfourteen/genericons/genericons.css?ver=3.0.2' type='text/css' media='all' /> <link rel='stylesheet' id='twentyfourteen-style-css' href='http://url-unmbase.rensrv.com/wdps/wp-content/themes/twentyfourteen/style.css?ver=3.9.2' type='text/css' media='all' /> <!--[if lt IE 9]> <link rel='stylesheet' id='twentyfourteen-ie-css' href='http://url-unmbase.rensrv.com/wdps/wp-content/themes/twentyfourteen/css/ie.css?ver=20131205' type='text/css' media='all' /> <![endif]--> <script type='text/javascript' src='http://url-unmbase.rensrv.com/wdps/wp-includes/js/jquery/jquery.js?ver=1.11.0'></script> <script type='text/javascript' src='http://url-unmbase.rensrv.com/wdps/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://url-unmbase.rensrv.com/wdps/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://url-unmbase.rensrv.com/wdps/wp-includes/wlwmanifest.xml" /> <link rel='prev' title='カテゴリ・タグURL確認用' href='http://url-unmbase.rensrv.com/archives/16' /> <meta name="generator" content="WordPress 3.9.2" /> <link rel='canonical' href='http://url-unmbase.rensrv.com/archives/21' /> <link rel='shortlink' href='http://url-unmbase.rensrv.com/?p=21' /> <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style> </head> <body class="single single-post postid-21 single-format-standard masthead-fixed full-width singular"> <div id="page" class="hfeed site"> <header id="masthead" class="site-header" role="banner"> <div class="header-main"> <h1 class="site-title"><a href="http://url-unmbase.rensrv.com/" rel="home">数字ベース(パーマリンク検証環境)</a></h1> <div class="search-toggle"> <a href="#search-container" class="screen-reader-text">検索</a> </div> <nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation"> <button class="menu-toggle">メインメニュー</button> <a class="screen-reader-text skip-link" href="#content">コンテンツへ移動</a> <div class="nav-menu"><ul><li class="page_item page-item-2"><a href="http://url-unmbase.rensrv.com/sample-page">サンプルページ</a></li></ul></div> </nav> </div> <div id="search-container" class="search-box-wrapper hide"> <div class="search-box"> <form role="search" method="get" class="search-form" action="http://url-unmbase.rensrv.com/"> <label> <span class="screen-reader-text">検索:</span> <input type="search" class="search-field" placeholder="検索 …" value="" name="s" title="検索:" /> </label> <input type="submit" class="search-submit" value="検索" /> </form> </div> </div> </header><!-- #masthead --> <div id="main" class="site-main"> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <article id="post-21" class="post-21 post type-post status-publish format-standard hentry category-category_name category-3 tag-tag_name tag-5"> <header class="entry-header"> <div class="entry-meta"> <span class="cat-links"><a href="http://url-unmbase.rensrv.com/archives/category/category_name" title="category_name の投稿をすべて表示" rel="category tag">category_name</a>, <a href="http://url-unmbase.rensrv.com/archives/category/%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e5%90%8d" title="カテゴリ名 の投稿をすべて表示" rel="category tag">カテゴリ名</a></span> </div> <h1 class="entry-title">(数字ベース)WordPressによる内部自動リダイレクト確認投稿</h1> <div class="entry-meta"> <span class="entry-date"><a href="http://url-unmbase.rensrv.com/archives/21" rel="bookmark"><time class="entry-date" datetime="2014-12-20T16:05:35+00:00">2014/12/20</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="http://url-unmbase.rensrv.com/archives/author/algorhythnn" rel="author">algorhythnn</a></span></span> </div><!-- .entry-meta --> </header><!-- .entry-header --> <div class="entry-content"> <p>本投稿は「WordPressによる内部自動リダイレクト確認」用投稿です。</p> <p>以下投稿からのサンプルとして利用しています。</p> <p>「<a title="WordPressによる内部自動リダイレクトの種類とパターン" href="http://rensrv.com/wp/wp-auto-redirect-pattern/" target="_blank">WordPressによる内部自動リダイレクトの種類とパターン</a>」</p> <p>これはパーマリンク・数字ベース環境による投稿です</p> </div><!-- .entry-content --> <footer class="entry-meta"><span class="tag-links"><a href="http://url-unmbase.rensrv.com/archives/tag/tag_name" rel="tag">tag_name</a><a href="http://url-unmbase.rensrv.com/archives/tag/%e3%82%bf%e3%82%b0%e5%90%8d" rel="tag">タグ名</a></span></footer></article><!-- #post-## --> <nav class="navigation post-navigation" role="navigation"> <h1 class="screen-reader-text">投稿ナビゲーション</h1> <div class="nav-links"> <a href="http://url-unmbase.rensrv.com/archives/16" rel="prev"><span class="meta-nav">前の投稿</span>カテゴリ・タグURL確認用</a> </div><!-- .nav-links --> </nav><!-- .navigation --> </div><!-- #content --> </div><!-- #primary --> <div id="secondary"> <h2 class="site-description">数字ベース(パーマリンク検証環境)</h2> <div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary"> <aside id="search-2" class="widget widget_search"><form role="search" method="get" class="search-form" action="http://url-unmbase.rensrv.com/"> <label> <span class="screen-reader-text">検索:</span> <input type="search" class="search-field" placeholder="検索 …" value="" name="s" title="検索:" /> </label> <input type="submit" class="search-submit" value="検索" /> </form></aside> <aside id="recent-posts-2" class="widget widget_recent_entries"> <h1 class="widget-title">最近の投稿</h1> <ul> <li> <a href="http://url-unmbase.rensrv.com/archives/21">(数字ベース)WordPressによる内部自動リダイレクト確認投稿</a> </li> <li> <a href="http://url-unmbase.rensrv.com/archives/16">カテゴリ・タグURL確認用</a> </li> <li> <a href="http://url-unmbase.rensrv.com/archives/7">118(mod_rewrite x 数字ベース) URL転送検証用</a> </li> <li> <a href="http://url-unmbase.rensrv.com/archives/6">113(Redirect Match x 数字ベース) URL転送検証用</a> </li> <li> <a href="http://url-unmbase.rensrv.com/archives/5">108(RedirectPermanent x 数字ベース) URL転送検証用</a> </li> </ul> </aside><aside id="recent-comments-2" class="widget widget_recent_comments"><h1 class="widget-title">最近のコメント</h1><ul id="recentcomments"><li class="recentcomments"><a href="http://url-unmbase.rensrv.com/archives/1#comment-1">Hello world!</a> に <a href='https://wordpress.org/' rel='external nofollow' class='url'>Mr WordPress</a> より</li></ul></aside><aside id="archives-2" class="widget widget_archive"><h1 class="widget-title">アーカイブ</h1> <ul> <li><a href='http://url-unmbase.rensrv.com/archives/date/2014/12'>2014年12月</a></li> <li><a href='http://url-unmbase.rensrv.com/archives/date/2014/10'>2014年10月</a></li> </ul> </aside><aside id="categories-2" class="widget widget_categories"><h1 class="widget-title">カテゴリー</h1> <ul> <li class="cat-item cat-item-2"><a href="http://url-unmbase.rensrv.com/archives/category/category_name" title="category_name に含まれる投稿をすべて表示">category_name</a> </li> <li class="cat-item cat-item-3"><a href="http://url-unmbase.rensrv.com/archives/category/%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e5%90%8d" title="カテゴリ名 に含まれる投稿をすべて表示">カテゴリ名</a> </li> <li class="cat-item cat-item-1"><a href="http://url-unmbase.rensrv.com/archives/category/%e6%9c%aa%e5%88%86%e9%a1%9e" title="未分類 に含まれる投稿をすべて表示">未分類</a> </li> </ul> </aside><aside id="tag_cloud-2" class="widget widget_tag_cloud"><h1 class="widget-title">タグ</h1><div class="tagcloud"><a href='http://url-unmbase.rensrv.com/archives/tag/tag_name' class='tag-link-4' title='2件のトピック' style='font-size: 8pt;'>tag_name</a> <a href='http://url-unmbase.rensrv.com/archives/tag/%e3%82%bf%e3%82%b0%e5%90%8d' class='tag-link-5' title='2件のトピック' style='font-size: 8pt;'>タグ名</a></div> </aside><aside id="meta-2" class="widget widget_meta"><h1 class="widget-title">メタ情報</h1> <ul> <li><a href="http://url-unmbase.rensrv.com/wdps/wp-login.php">ログイン</a></li> <li><a href="http://url-unmbase.rensrv.com/feed" title="このサイトを RSS2.0 で購読">投稿の <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="http://url-unmbase.rensrv.com/comments/feed" title="すべての投稿への最新コメントを RSS で購読">コメントの <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="https://ja.wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li> </ul> </aside> </div><!-- #primary-sidebar --> </div><!-- #secondary --> </div><!-- #main --> <footer id="colophon" class="site-footer" role="contentinfo"> <div class="site-info"> <a href="http://ja.wordpress.org/">Proudly powered by WordPress</a> </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> <script type='text/javascript' src='http://url-unmbase.rensrv.com/wdps/wp-content/themes/twentyfourteen/js/functions.js?ver=20140319'></script> </body> </html> |
投稿名
パーマリンク設定を「投稿名」とした場合でも、
デフォルト形式のURLでアクセスしても正しくページが表示されます。
サイトで公開しているURL形式では以下のようなURLで公開されています。
http://url-post.rensrv.com/auto-redirect/
以下のようなURLでアクセスをしても正しくページが表示されます。
cURLでアクセスしステータスコードを確認しても、
正しく301による恒久転送が行われています。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 |
HTTP/1.1 301 Moved Permanently Date: Sat, 20 Dec 2014 11:26:08 GMT Server: Apache X-Powered-By: PHP/5.3.3 X-Pingback: http://url-post.rensrv.com/wdps/xmlrpc.php Location: http://url-post.rensrv.com/auto-redirect/ Content-Length: 0 Content-Type: text/html; charset=UTF-8 HTTP/1.1 200 OK Date: Sat, 20 Dec 2014 11:26:08 GMT Server: Apache X-Powered-By: PHP/5.3.3 X-Pingback: http://url-post.rensrv.com/wdps/xmlrpc.php Link: <http://url-post.rensrv.com/?p=74>; rel=shortlink Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 <!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" lang="ja"> <![endif]--> <!--[if IE 8]> <html class="ie ie8" lang="ja"> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html lang="ja"> <!--<![endif]--> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width"> <title>(投稿名)WordPressによる内部自動リダイレクト確認投稿 | 投稿名(パーマリンク検証環境)</title> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="http://url-post.rensrv.com/wdps/xmlrpc.php"> <!--[if lt IE 9]> <script src="http://url-post.rensrv.com/wdps/wp-content/themes/twentyfourteen/js/html5.js"></script> <![endif]--> <meta name='robots' content='noindex,follow' /> <link rel="alternate" type="application/rss+xml" title="投稿名(パーマリンク検証環境) » フィード" href="http://url-post.rensrv.com/feed/" /> <link rel="alternate" type="application/rss+xml" title="投稿名(パーマリンク検証環境) » コメントフィード" href="http://url-post.rensrv.com/comments/feed/" /> <link rel='stylesheet' id='twentyfourteen-lato-css' href='//fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C900%2C300italic%2C400italic%2C700italic' type='text/css' media='all' /> <link rel='stylesheet' id='genericons-css' href='http://url-post.rensrv.com/wdps/wp-content/themes/twentyfourteen/genericons/genericons.css?ver=3.0.2' type='text/css' media='all' /> <link rel='stylesheet' id='twentyfourteen-style-css' href='http://url-post.rensrv.com/wdps/wp-content/themes/twentyfourteen/style.css?ver=3.9.2' type='text/css' media='all' /> <!--[if lt IE 9]> <link rel='stylesheet' id='twentyfourteen-ie-css' href='http://url-post.rensrv.com/wdps/wp-content/themes/twentyfourteen/css/ie.css?ver=20131205' type='text/css' media='all' /> <![endif]--> <script type='text/javascript' src='http://url-post.rensrv.com/wdps/wp-includes/js/jquery/jquery.js?ver=1.11.0'></script> <script type='text/javascript' src='http://url-post.rensrv.com/wdps/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://url-post.rensrv.com/wdps/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://url-post.rensrv.com/wdps/wp-includes/wlwmanifest.xml" /> <link rel='prev' title='リライト日⇒日(日本語URL転送)' href='http://url-post.rensrv.com/%e3%83%aa%e3%83%a9%e3%82%a4%e3%83%88%e6%97%a5%e2%87%92%e6%97%a5/' /> <meta name="generator" content="WordPress 3.9.2" /> <link rel='canonical' href='http://url-post.rensrv.com/auto-redirect/' /> <link rel='shortlink' href='http://url-post.rensrv.com/?p=74' /> <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style> </head> <body class="single single-post postid-74 single-format-standard masthead-fixed full-width singular"> <div id="page" class="hfeed site"> <header id="masthead" class="site-header" role="banner"> <div class="header-main"> <h1 class="site-title"><a href="http://url-post.rensrv.com/" rel="home">投稿名(パーマリンク検証環境)</a></h1> <div class="search-toggle"> <a href="#search-container" class="screen-reader-text">検索</a> </div> <nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation"> <button class="menu-toggle">メインメニュー</button> <a class="screen-reader-text skip-link" href="#content">コンテンツへ移動</a> <div class="nav-menu"><ul><li class="page_item page-item-2"><a href="http://url-post.rensrv.com/sample-page/">サンプルページ</a></li></ul></div> </nav> </div> <div id="search-container" class="search-box-wrapper hide"> <div class="search-box"> <form role="search" method="get" class="search-form" action="http://url-post.rensrv.com/"> <label> <span class="screen-reader-text">検索:</span> <input type="search" class="search-field" placeholder="検索 …" value="" name="s" title="検索:" /> </label> <input type="submit" class="search-submit" value="検索" /> </form> </div> </div> </header><!-- #masthead --> <div id="main" class="site-main"> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <article id="post-74" class="post-74 post type-post status-publish format-standard hentry category-category_name category-3 tag-tag_name tag-5"> <header class="entry-header"> <div class="entry-meta"> <span class="cat-links"><a href="http://url-post.rensrv.com/category/category_name/" title="category_name の投稿をすべて表示" rel="category tag">category_name</a>, <a href="http://url-post.rensrv.com/category/%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e5%90%8d/" title="カテゴリ名 の投稿をすべて表示" rel="category tag">カテゴリ名</a></span> </div> <h1 class="entry-title">(投稿名)WordPressによる内部自動リダイレクト確認投稿</h1> <div class="entry-meta"> <span class="entry-date"><a href="http://url-post.rensrv.com/auto-redirect/" rel="bookmark"><time class="entry-date" datetime="2014-12-20T16:05:39+00:00">2014/12/20</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="http://url-post.rensrv.com/author/algorhythnn/" rel="author">algorhythnn</a></span></span> </div><!-- .entry-meta --> </header><!-- .entry-header --> <div class="entry-content"> <p>本投稿は「WordPressによる内部自動リダイレクト確認」用投稿です。</p> <p>以下投稿からのサンプルとして利用しています。</p> <p>「<a title="WordPressによる内部自動リダイレクトの種類とパターン" href="http://rensrv.com/wp/wp-auto-redirect-pattern/" target="_blank">WordPressによる内部自動リダイレクトの種類とパターン</a>」</p> <p>これはパーマリンク・投稿名環境による投稿です</p> </div><!-- .entry-content --> <footer class="entry-meta"><span class="tag-links"><a href="http://url-post.rensrv.com/tag/tag_name/" rel="tag">tag_name</a><a href="http://url-post.rensrv.com/tag/%e3%82%bf%e3%82%b0%e5%90%8d/" rel="tag">タグ名</a></span></footer></article><!-- #post-## --> <nav class="navigation post-navigation" role="navigation"> <h1 class="screen-reader-text">投稿ナビゲーション</h1> <div class="nav-links"> <a href="http://url-post.rensrv.com/%e3%83%aa%e3%83%a9%e3%82%a4%e3%83%88%e6%97%a5%e2%87%92%e6%97%a5/" rel="prev"><span class="meta-nav">前の投稿</span>リライト日⇒日(日本語URL転送)</a> </div><!-- .nav-links --> </nav><!-- .navigation --> </div><!-- #content --> </div><!-- #primary --> <div id="secondary"> <h2 class="site-description">投稿名(パーマリンク検証環境)</h2> <div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary"> <aside id="search-2" class="widget widget_search"><form role="search" method="get" class="search-form" action="http://url-post.rensrv.com/"> <label> <span class="screen-reader-text">検索:</span> <input type="search" class="search-field" placeholder="検索 …" value="" name="s" title="検索:" /> </label> <input type="submit" class="search-submit" value="検索" /> </form></aside> <aside id="recent-posts-2" class="widget widget_recent_entries"> <h1 class="widget-title">最近の投稿</h1> <ul> <li> <a href="http://url-post.rensrv.com/auto-redirect/">(投稿名)WordPressによる内部自動リダイレクト確認投稿</a> </li> <li> <a href="http://url-post.rensrv.com/%e3%83%aa%e3%83%a9%e3%82%a4%e3%83%88%e6%97%a5%e2%87%92%e6%97%a5/">リライト日⇒日(日本語URL転送)</a> </li> <li> <a href="http://url-post.rensrv.com/mod_rewrite-jptoen/">mod_rewrite-jptoen(日本語URL転送)</a> </li> <li> <a href="http://url-post.rensrv.com/%e3%83%aa%e3%83%a9%e3%82%a4%e3%83%88%e8%8b%b1%e2%87%92%e6%97%a5/">リライト英⇒日(日本語URL転送)</a> </li> <li> <a href="http://url-post.rensrv.com/mod_rewrite-entoen/">mod_rewrite-entoen(日本語URL転送)</a> </li> </ul> </aside><aside id="recent-comments-2" class="widget widget_recent_comments"><h1 class="widget-title">最近のコメント</h1><ul id="recentcomments"><li class="recentcomments"><a href="http://url-post.rensrv.com/hello-world/#comment-1">Hello world!</a> に <a href='https://wordpress.org/' rel='external nofollow' class='url'>Mr WordPress</a> より</li></ul></aside><aside id="archives-2" class="widget widget_archive"><h1 class="widget-title">アーカイブ</h1> <ul> <li><a href='http://url-post.rensrv.com/2014/12/'>2014年12月</a></li> <li><a href='http://url-post.rensrv.com/2014/10/'>2014年10月</a></li> </ul> </aside><aside id="categories-2" class="widget widget_categories"><h1 class="widget-title">カテゴリー</h1> <ul> <li class="cat-item cat-item-2"><a href="http://url-post.rensrv.com/category/category_name/" title="category_name に含まれる投稿をすべて表示">category_name</a> </li> <li class="cat-item cat-item-3"><a href="http://url-post.rensrv.com/category/%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e5%90%8d/" title="カテゴリ名 に含まれる投稿をすべて表示">カテゴリ名</a> </li> <li class="cat-item cat-item-6"><a href="http://url-post.rensrv.com/category/%e6%97%a5%e6%9c%ac%e8%aa%9eurl%e8%bb%a2%e9%80%81%e6%a4%9c%e8%a8%bc/" title="日本語URL転送検証 に含まれる投稿をすべて表示">日本語URL転送検証</a> </li> <li class="cat-item cat-item-1"><a href="http://url-post.rensrv.com/category/%e6%9c%aa%e5%88%86%e9%a1%9e/" title="未分類 に含まれる投稿をすべて表示">未分類</a> </li> </ul> </aside><aside id="tag_cloud-2" class="widget widget_tag_cloud"><h1 class="widget-title">タグ</h1><div class="tagcloud"><a href='http://url-post.rensrv.com/tag/tag_name/' class='tag-link-4' title='2件のトピック' style='font-size: 8pt;'>tag_name</a> <a href='http://url-post.rensrv.com/tag/%e3%82%bf%e3%82%b0%e5%90%8d/' class='tag-link-5' title='2件のトピック' style='font-size: 8pt;'>タグ名</a></div> </aside><aside id="meta-2" class="widget widget_meta"><h1 class="widget-title">メタ情報</h1> <ul> <li><a href="http://url-post.rensrv.com/wdps/wp-login.php">ログイン</a></li> <li><a href="http://url-post.rensrv.com/feed/" title="このサイトを RSS2.0 で購読">投稿の <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="http://url-post.rensrv.com/comments/feed/" title="すべての投稿への最新コメントを RSS で購読">コメントの <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="https://ja.wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li> </ul> </aside> </div><!-- #primary-sidebar --> </div><!-- #secondary --> </div><!-- #main --> <footer id="colophon" class="site-footer" role="contentinfo"> <div class="site-info"> <a href="http://ja.wordpress.org/">Proudly powered by WordPress</a> </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> <script type='text/javascript' src='http://url-post.rensrv.com/wdps/wp-content/themes/twentyfourteen/js/functions.js?ver=20140319'></script> </body> </html> |
カスタム
パーマリンク設定を「カスタム」とした場合でも、
デフォルト形式のURLでアクセスしても正しくページが表示されます。
サイトで公開しているURL形式では以下のようなURLで公開されています。
http://url-html.rensrv.com/auto-redirect.html
以下のようなURLでアクセスをしても正しくページが表示されます。
cURLでアクセスしステータスコードを確認しても、
正しく301による恒久転送が行われています。
申し訳ありませんが、現在ソースを表示できません。 |
さいごに
このようにしてパーマリンク設定を行ったとしても、
初期設定で振られているデフォルトタイプのURLは、
その後もアクセスが行えることが分かります。
但し、パーマリンク設定から、他のパーマリンク設定へのURL変更時には、
リダイレクトは自動では行われません。
あくまでもデフォルトタイプのURL形式が、
パーマリンク設定に依存せず利用ができるという事だけです。
Apache,Apache Hadoop,Apache Subversion,Hadoop,HDFS,HBase,Hive,Mahout,Pigは、
Apache Software Foundationの米国およびその他の国における登録商標または商標です。
ApacheソフトウェアはApache Software License (原文)および
Apache License, 2.0 (原文)に基づきOpen Source Initiativeに承認されライセンスされています。
WordPressはWordPress Foundation の登録商標(第5049965号)です。
WordPressロゴ、アイコンその他のマーク等はWordPress Foundation の商標であり、
WordPress Foundation の著作物です。
WordPress.comはWordPress Foundation が管理運営を行うドメインならびにサービスの名称です。
WordPress.com、WordPress.net、WordPress.org、WordPress.tv、
WordPressFoundation.orgはWordPress Foundationが
管理運営を行なう正式なトップレベルドメインであるとともに、
WordPress Foundationが運営を行うサービスの名称です。
wordpressはFree Software Foundation, Inc.によってGPL2+でライセンスされています。
公開日:
最終更新日:2018/04/29