7.22 .htaccessを用いてHTTPリダイレクトする
BlogArchiveRelativeURLプラグイン
注:展開して中にある BlogArchiveRelativeURL.pl を plugins ディレクトリにアップロードしてください。
P.730
RewriteEngine on
RewriteRule ^(.*)\.html$ $1.php [L,R=301]
P.731
RedirectPermanent /index.html http://user-domain/index.php
<mt:ignore>メインページ</mt:ignore>
RedirectPermanent <mt:blogRelativeURL />index.html <mt:blogURL />index.php
<mt:ignore>アーカイブインデックス</mt:ignore>
RedirectPermanent <mt:blogRelativeURL />archives.html <mt:blogURL />archives.php
<mt:ignore>ブログ記事ページ</mt:ignore>
<mt:ifArchiveTypeEnabled archive_type="Individual">
<mt:archiveList archive_type="Individual">
RedirectPermanent <mt:blogArchiveRelativeURL /><mt:archiveDate format="%Y/%m/" /><mt:archiveFile extension="0" cat=".html" /> <mt:blogArchiveURL /><mt:archiveDate format="%Y/%m/" /><mt:archiveFile />
</mt:archiveList>
</mt:ifArchiveTypeEnabled>
<mt:ignore>ウェブページ</mt:ignore>
<mt:ifArchiveTypeEnabled archive_type="Page">
<mt:archiveList archive_type="Page">
RedirectPermanent <mt:blogArchiveRelativeURL /><mt:if tag="folderPath"><mt:folderPath cat="/" /></mt:if><mt:archiveFile extension="0" cat=".html" /> <mt:blogArchiveURL /><mt:if tag="folderPath"><mt:folderPath cat="/" /></mt:if><mt:archiveFile />
</mt:archiveList>
</mt:ifArchiveTypeEnabled>
<mt:ignore>月別アーカイブ</mt:ignore>
<mt:ifArchiveTypeEnabled archive_type="Monthly">
<mt:archiveList archive_type="Monthly">
RedirectPermanent <mt:blogArchiveRelativeURL /><mt:archiveDate format="%Y/%m/" /><mt:archiveFile extension="0" cat=".html" /> <mt:blogArchiveURL /><mt:archiveDate format="%Y/%m/" /><mt:archiveFile />
</mt:archiveList>
</mt:ifArchiveTypeEnabled>
<mt:ignore>カテゴリアーカイブ</mt:ignore>
<mt:ifArchiveTypeEnabled archive_type="Category">
<mt:archiveList archive_type="Category">
RedirectPermanent <mt:blogArchiveRelativeURL /><mt:subCategoryPath cat="/" /><mt:archiveFile extension="0" cat=".html" /> <mt:blogArchiveURL /><mt:subCategoryPath cat="/" /><mt:archiveFile />
</mt:archiveList>
</mt:ifArchiveTypeEnabled>
<mt:ignore>月別カテゴリアーカイブ</mt:ignore>
<mt:ifArchiveTypeEnabled archive_type="Category-Monthly">
<mt:archiveList archive_type="Category-Monthly">
RedirectPermanent <mt:blogArchiveRelativeURL /><mt:subCategoryPath cat="/" /><mt:archiveDate format="%Y/%m/" /><mt:archiveFile extension="0" cat=".html" /> <mt:blogArchiveURL /><mt:subCategoryPath cat="/" /><mt:archiveDate format="%Y/%m/" /><mt:archiveFile />
</mt:archiveList>
</mt:ifArchiveTypeEnabled>
<mt:ignore>ユーザーアーカイブ</mt:ignore>
<mt:ifArchiveTypeEnabled archive_type="Author">
<mt:archiveList archive_type="Author">
RedirectPermanent <mt:blogArchiveRelativeURL cat="author/" /><mt:entries lastn="1"><mt:entryAuthorDisplayName cat="/" /></mt:entries><mt:archiveFile extension="0" cat=".html" /> <mt:blogArchiveURL cat="author/" /><mt:entries lastn="1"><mt:entryAuthorDisplayName cat="/" /></mt:entries><mt:archiveFile />
</mt:archiveList>
</mt:ifArchiveTypeEnabled>
<mt:ignore>月別ユーザーアーカイブ</mt:ignore>
<mt:ifArchiveTypeEnabled archive_type="Author-Monthly">
<mt:archiveList archive_type="Author-Monthly">
RedirectPermanent <mt:blogArchiveRelativeURL cat="author/" /><mt:entries lastn="1"><mt:entryAuthorDisplayName cat="/" /></mt:entries><mt:archiveDate format="%Y/%m/" /><mt:archiveFile extension="0" cat=".html" /> <mt:blogArchiveURL cat="author/" /><mt:entries lastn="1"><mt:entryAuthorDisplayName cat="/" /></mt:entries><mt:archiveDate format="%Y/%m/" /><mt:archiveFile />
</mt:archiveList>
</mt:ifArchiveTypeEnabled>