<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Wordpress  |  塞翁失馬</title>
	<atom:link href="https://hbirds.mydns.jp/category/web/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://hbirds.mydns.jp</link>
	<description>禍福は糾える縄の如し</description>
	<lastBuildDate>Fri, 17 Feb 2023 20:13:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://hbirds.mydns.jp/wp-content/uploads/2022/12/cropped-akaza-32x32.png</url>
	<title>Wordpress  |  塞翁失馬</title>
	<link>https://hbirds.mydns.jp</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Cocoon ヘッダーにhtmlコード挿入</title>
		<link>https://hbirds.mydns.jp/cocoon-%e3%83%98%e3%83%83%e3%83%80%e3%83%bc%e3%81%abhtml%e3%82%b3%e3%83%bc%e3%83%89%e6%8c%bf%e5%85%a5/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sun, 12 Feb 2023 08:41:22 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[cocoon]]></category>
		<category><![CDATA[hhtmlコード]]></category>
		<category><![CDATA[ヘッダー]]></category>
		<guid isPermaLink="false">https://hbirds.mydns.jp/?p=814</guid>

					<description><![CDATA[FontAwesomeのスクリプトコードをヘッダーに挿入するにはどうしたら良いか調べてみた。オーソドックな方法としてはfunctions.phpを編集する方法があるが、coconnの場合は、専用のhead-insert.phpを編集すれば良い。 7行目を挿入して保存。]]></description>
										<content:encoded><![CDATA[
<p>FontAwesomeのスクリプトコードをヘッダーに挿入するにはどうしたら良いか調べてみた。オーソドックな方法としてはfunctions.phpを編集する方法があるが、coconnの場合は、専用のhead-insert.phpを編集すれば良い。</p>



<figure class="wp-block-image size-large border shadow"><img fetchpriority="high" decoding="async" width="1024" height="299" src="https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-12-17-29-39-1024x299.png" alt="" class="wp-image-815" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-12-17-29-39-1024x299.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-12-17-29-39-300x88.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-12-17-29-39-768x224.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-12-17-29-39.png 1363w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>7行目を挿入して保存。</p>



<figure class="wp-block-image size-large border shadow"><img decoding="async" width="1024" height="347" src="https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-12-17-30-31-1024x347.png" alt="" class="wp-image-817" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-12-17-30-31-1024x347.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-12-17-30-31-300x102.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-12-17-30-31-768x260.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-12-17-30-31.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>REST APIエラー</title>
		<link>https://hbirds.mydns.jp/rest-api%e3%82%a8%e3%83%a9%e3%83%bc/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sun, 12 Feb 2023 07:33:51 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[rest api]]></category>
		<guid isPermaLink="false">https://hbirds.mydns.jp/?p=809</guid>

					<description><![CDATA[パーマリンクをplain以外にセットすると以上のエラーが出て、各ポストのリンクが全部切れてしまう、新規の投稿もできなくなった。 jsonを読めるようにしてなかったのが原因。Nginxの設定ファイルの適切な位置に以下を挿入して解決。]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="541" src="https://hbirds.mydns.jp/wp-content/uploads/2023/02/2b128dc49a29fa2316169c90ec403d5580b6cf81-1024x541.png" alt="" class="wp-image-812" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/02/2b128dc49a29fa2316169c90ec403d5580b6cf81-1024x541.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/2b128dc49a29fa2316169c90ec403d5580b6cf81-300x158.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/2b128dc49a29fa2316169c90ec403d5580b6cf81-768x406.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/2b128dc49a29fa2316169c90ec403d5580b6cf81.png 1342w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>パーマリンクをplain以外にセットすると以上のエラーが出て、各ポストのリンクが全部切れてしまう、新規の投稿もできなくなった。</p>



<p>jsonを読めるようにしてなかったのが原因。Nginxの設定ファイルの適切な位置に以下を挿入して解決。</p>



<pre class="wp-block-code terminal"><code>try_files $uri $uri/ /index.php?$args;</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Ubuntu 22.04に最新版Dockerをインストール</title>
		<link>https://hbirds.mydns.jp/saubuntu-22-04%e3%81%ab%e6%9c%80%e6%96%b0%e7%89%88docker%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Mon, 23 Jan 2023 21:37:31 +0000</pubDate>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=708</guid>

					<description><![CDATA[Dockerのインストール apt install docker ではVersion: 1.5-2という非常に古い(2015年）ものしか入らないため、Dockerの公式がリポジトリを追加して最新版のDockerをインストールした。 確認 docker run hello-world で動作確認。以下のようなメッセージを確認できたら、Dockerは問題なく動作確している。 Docker Composeのインストール Githubのサイトで最新版がv2.15.1なのを確認 $ sudo curl -L https://github.com/docker/compose/releases/download/v2.15.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose $ sudo chmod +x /usr/local/bin/docker-compose ちゃんとインストールできたか確認]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Dockerのインストール</h2>



<p>apt install docker ではVersion: 1.5-2という非常に古い(2015年）ものしか入らないため、Dockerの公式がリポジトリを追加して最新版のDockerをインストールした。</p>



<pre class="wp-block-code terminal"><code>$ sudo apt-get update 
$ sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
$ echo "deb &#91;arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list &gt; /dev/null
$ sudo apt-get update</code></pre>



<p>確認</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ sudo apt info docker-ce
Package: docker-ce
Version: 5:20.10.23~3-0~ubuntu-jammy</code></pre>



<pre class="wp-block-code terminal"><code>sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin</code></pre>



<p>docker run hello-world で動作確認。以下のようなメッセージを確認できたら、Dockerは問題なく動作確している。</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~$ sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
2db29710123e: Pull complete 
Digest: sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https:&#47;&#47;hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/</code></pre>



<h2 class="wp-block-heading">Docker Composeのインストール</h2>



<p><a href="https://github.com/docker/compose">Githubのサイト</a>で最新版がv2.15.1なのを確認</p>



<figure class="wp-block-image size-large border shadow"><img loading="lazy" decoding="async" width="1024" height="447" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-13-33-34-1-1024x447.png" alt="" class="wp-image-725" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-13-33-34-1-1024x447.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-13-33-34-1-300x131.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-13-33-34-1-768x336.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-13-33-34-1.png 1341w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="terminal">$ sudo curl -L https://github.com/docker/compose/releases/download/v2.15.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose</p>



<p class="terminal">$ sudo chmod +x /usr/local/bin/docker-compose </p>



<p>ちゃんとインストールできたか確認</p>



<pre class="wp-block-code terminal"><code>$ sudo docker-compose --version
Docker Compose version v2.15.1</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>WordMove</title>
		<link>https://hbirds.mydns.jp/wordmove/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Mon, 23 Jan 2023 20:52:55 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=703</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large border shadow"><img loading="lazy" decoding="async" width="1024" height="517" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-48-12-1024x517.png" alt="" class="wp-image-704" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-48-12-1024x517.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-48-12-300x151.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-48-12-768x388.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-48-12.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large border shadow"><img loading="lazy" decoding="async" width="1024" height="517" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-50-03-1024x517.png" alt="" class="wp-image-705" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-50-03-1024x517.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-50-03-300x151.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-50-03-768x388.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-50-03.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large border shadow"><img loading="lazy" decoding="async" width="1024" height="517" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-50-03-1-1024x517.png" alt="" class="wp-image-706" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-50-03-1-1024x517.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-50-03-1-300x151.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-50-03-1-768x388.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-24-05-50-03-1.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>WordMove Install</title>
		<link>https://hbirds.mydns.jp/wordmove-install/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sun, 22 Jan 2023 03:53:43 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=681</guid>

					<description><![CDATA[WordMoveをインストールしてLOCAL環境から本番環境への移行をしてみたい。 インストールは以下のようにLOCALのシェルから入って行わないとその後のmovefile.ymlのチェックが上手く行かない。 まず、rubyをインストールし、次にwordmoveをインストール。wp-adminと同じディレクトリにいることを確認したうえで、wordmove init を実行すると、movefile.ymlが作成される。 wordmove doctorでエラーが出なくなるまでmovefile.ymlを修正する。]]></description>
										<content:encoded><![CDATA[
<p>WordMoveをインストールしてLOCAL環境から本番環境への移行をしてみたい。</p>



<p>インストールは以下のようにLOCALのシェルから入って行わないとその後のmovefile.ymlのチェックが上手く行かない。</p>



<figure class="wp-block-image size-large is-resized border shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-42-34-1024x521.png" alt="" class="wp-image-687" width="837" height="426" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-42-34-1024x521.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-42-34-300x153.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-42-34-768x390.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-42-34.png 1363w" sizes="(max-width: 837px) 100vw, 837px" /></figure>



<p>まず、rubyをインストールし、次にwordmoveをインストール。wp-adminと同じディレクトリにいることを確認したうえで、wordmove init を実行すると、movefile.ymlが作成される。</p>



<pre class="wp-block-code terminal"><code>sudo apt install rubygems
sudo gem install wordmove
wordmove init</code></pre>



<p>wordmove doctorでエラーが出なくなるまでmovefile.ymlを修正する。</p>



<figure class="wp-block-image size-full is-resized border shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-45-17.png" alt="" class="wp-image-689" width="839" height="674" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-45-17.png 774w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-45-17-300x241.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-45-17-768x617.png 768w" sizes="(max-width: 839px) 100vw, 839px" /></figure>



<figure class="wp-block-image size-full is-resized border shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-46-45.png" alt="" class="wp-image-690" width="837" height="696" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-46-45.png 773w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-46-45-300x250.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-23-05-46-45-768x639.png 768w" sizes="(max-width: 837px) 100vw, 837px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>tar.gz で圧縮して1ファイルにする</title>
		<link>https://hbirds.mydns.jp/tar-gz-%e3%81%a7%e5%9c%a7%e7%b8%ae%e3%81%97%e3%81%a61%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ab%e3%81%99%e3%82%8b/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Sun, 15 Jan 2023 19:08:16 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[tar.gz]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[圧縮]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=635</guid>

					<description><![CDATA[LOCALを本番環境に移行するには、LOCAL内のファイルを本番環境にアップロードする必要がある。本番環境はOCIに構築したWEBサーバーを想定する。OCIにフォルダーごとのアップロードが難しいので、tar.gzでディレクトリを１ファイルにまとめてアップロードし、アップロード先のOCIで解凍すれば、結果としてディレクトリのアップロードと同じ結果になるはず。 uploads.tar.gz が作成された。 次にこの uploads.tar.gz をいくつかの方法でOCIに転送してみる。]]></description>
										<content:encoded><![CDATA[
<p></p>



<p>LOCALを本番環境に移行するには、LOCAL内のファイルを本番環境にアップロードする必要がある。本番環境はOCIに構築したWEBサーバーを想定する。OCIにフォルダーごとのアップロードが難しいので、tar.gzでディレクトリを１ファイルにまとめてアップロードし、アップロード先のOCIで解凍すれば、結果としてディレクトリのアップロードと同じ結果になるはず。</p>



<pre class="wp-block-code terminal"><code>birds@hbirds-Lenovo-G580:~/Local Sites/localhbirdsnet/app/public/wp-content$ ls -la
total 28
drwxr-xr-x  6 hbirds hbirds 4096  1月 13 14:21 .
drwxrwxr-x  6 hbirds hbirds 4096  1月 15 02:59 ..
-rw-r--r--  1 hbirds hbirds   28  1月  9  2012 index.php
drwxr-xr-x 17 hbirds hbirds 4096  1月 13 14:21 plugins
drwxr-xr-x  7 hbirds hbirds 4096  1月 13 14:21 themes
drwxrwxr-x  2 hbirds hbirds 4096  1月 13 14:21 upgrade
drwxr-xr-x  7 hbirds hbirds 4096  1月  1 19:34 uploads
</code></pre>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~/Local Sites/localhbirdsnet/app/public/wp-content$ sudo tar -zcvf uploads.tar.gz uploads</code></pre>



<p>uploads.tar.gz が作成された。</p>



<pre class="wp-block-code terminal"><code>hbirds@hbirds-Lenovo-G580:~/Local Sites/localhbirdsnet/app/public/wp-content$ ls -la
total 128212
drwxr-xr-x  6 hbirds hbirds      4096  1月 16 03:51 .
drwxrwxr-x  6 hbirds hbirds      4096  1月 15 02:59 ..
-rw-r--r--  1 hbirds hbirds        28  1月  9  2012 index.php
drwxr-xr-x 17 hbirds hbirds      4096  1月 13 14:21 plugins
drwxr-xr-x  7 hbirds hbirds      4096  1月 13 14:21 themes
drwxrwxr-x  2 hbirds hbirds      4096  1月 13 14:21 upgrade
drwxr-xr-x  7 hbirds hbirds      4096  1月  1 19:34 uploads
-rw-r--r--  1 root   root   131253885  1月 16 03:51 uploads.tar.gz
</code></pre>



<p>次にこの uploads.tar.gz をいくつかの方法でOCIに転送してみる。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Search Replace DB のインストール</title>
		<link>https://hbirds.mydns.jp/search-replace-db-%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Fri, 13 Jan 2023 05:58:49 +0000</pubDate>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=572</guid>

					<description><![CDATA[GitHubからSearch Replace DB のzipファイルをダウンロードしてLOCALサイトに設置。wp-adminと同じ階層に設置する必要がある。 解凍すると以下のようなフォルダーが作成される。 https://hbirds.mydns.jp/Search-Replace-DB-master/ でアクセスすると以下の画面が表示される。 例えば、以下のように入力する。LOCALでは、hnirds.ddns.net→hbirdsddnsnet.localとなっているので、左に//hbirds.mydns.jp、右に本番のドメインネーム//hbirds.mydns.jpをセット。LOCALの場合、database name:local username:root、pass:root、host:localhostとなっている。portは入力しなくてもOK。Testconnection をクリックしてSuccessと表示されればOK. 変換処理後、delete me ボタンを押すとSeachReplaceフォルダー内のコアファイルが削除されてしまう。この場合は、再インストールすれば良い。]]></description>
										<content:encoded><![CDATA[
<p>GitHubからSearch Replace DB のzipファイルをダウンロードしてLOCALサイトに設置。wp-adminと同じ階層に設置する必要がある。</p>



<figure class="wp-block-image aligncenter size-large is-resized border shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-14-52-33-1024x434.png" alt="" class="wp-image-573" width="768" height="326" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-14-52-33-1024x434.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-14-52-33-300x127.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-14-52-33-768x326.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-14-52-33.png 1288w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>解凍すると以下のようなフォルダーが作成される。</p>



<figure class="wp-block-image size-large border shadow"><img loading="lazy" decoding="async" width="1024" height="434" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-14-55-53-1024x434.png" alt="" class="wp-image-574" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-14-55-53-1024x434.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-14-55-53-300x127.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-14-55-53-768x326.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-14-55-53.png 1288w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>https://hbirds.mydns.jp/Search-Replace-DB-master/ でアクセスすると以下の画面が表示される。</p>



<figure class="wp-block-image aligncenter size-large is-resized border shadow"><img loading="lazy" decoding="async" src="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-15-11-45-1024x406.png" alt="" class="wp-image-580" width="768" height="305" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-15-11-45-1024x406.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-15-11-45-300x119.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-15-11-45-768x305.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/01/Screenshot-from-2023-01-13-15-11-45.png 1359w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>例えば、以下のように入力する。LOCALでは、hnirds.ddns.net→hbirdsddnsnet.localとなっているので、左に//hbirds.mydns.jp、右に本番のドメインネーム//hbirds.mydns.jpをセット。LOCALの場合、database name:local username:root、pass:root、host:localhostとなっている。portは入力しなくてもOK。Testconnection をクリックしてSuccessと表示されればOK.</p>



<figure class="wp-block-image size-large border shadow"><img loading="lazy" decoding="async" width="1024" height="408" src="https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-09-17-58-44-1024x408.png" alt="" class="wp-image-791" srcset="https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-09-17-58-44-1024x408.png 1024w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-09-17-58-44-300x120.png 300w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-09-17-58-44-768x306.png 768w, https://hbirds.mydns.jp/wp-content/uploads/2023/02/Screenshot-from-2023-02-09-17-58-44.png 1358w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>変換処理後、delete me ボタンを押すとSeachReplaceフォルダー内のコアファイルが削除されてしまう。この場合は、再インストールすれば良い。</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
