差分

ナビゲーションに移動 検索に移動

MediaWikiでサイトマップを作成する

287 バイト追加, 2019年7月26日 (金) 17:05
#画面上部の「ManualSitemap」のリンクをクリックするよ。(画面が変わってるかも…)
#画面右下の「Download ZIP」のボタンをクリックするよ。<br/>ファイルはPCの適当な場所に保存してね。<br/>(画面が変わってるかも…)
#FTPツールなどを使用して以下のディレクトリにアップロードしてね。<br/><presyntaxhighlight lang="bash">/home/【ドメイン名】/www/【wikiのインストールディレクトリ】/extensions</presyntaxhighlight>
#コンソールアプリなどでサーバーに接続してアップロードしたディレクトリに移動するよ。
#以下のコマンドを実行するよ。<presyntaxhighlight lang="bash">unzip ManualSitemap-master.zip</presyntaxhighlight>
#「ManualSitemap-master」ディレクトリの中に「ManualSitemap」ディレクトリがあるので、それをextensionsディレクトリ配下に移動するよ。
##「ManualSitemap-master」ディレクトリに移動。<presyntaxhighlight lang="bash">cd ManualSitemap-master</presyntaxhighlight>##「ManualSitemap」ディレクトリを1つ上の「extensions」ディレクトリに移動。<presyntaxhighlight lang="bash">mv ManualSitemap ./..</presyntaxhighlight>##「README.md」ファイルを削除。<presyntaxhighlight lang="bash">rm README.md</presyntaxhighlight>##「extensions」ディレクトリに移動。<presyntaxhighlight lang="bash">cd ..</presyntaxhighlight>##「ManualSitemap-master」ディレクトリを削除。<presyntaxhighlight lang="bash">rmdir ManualSitemap-master</presyntaxhighlight>#「LocalSettings.php」ファイルに以下を追記するよ。<presyntaxhighlight lang="php">require_once "$IP/extensions/ManualSitemap/ManualSitemap.php";</presyntaxhighlight>
== サイトマップの作成 ==

案内メニュー