プラグインの追加
1. WordPress を起動して、WordPress のダッシュボードにアクセスする
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image.png)
2. [プラグイン] → “新規追加” をクリックする
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-1.png)
3. “プラグインの検索” に “WP Sitemaps Config” を入力する
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-2.png)
4. “今すぐインストール”をクリックする
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-3.png)
5. 有効化する
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-4.png)
6. [設定] → [XML Sitemap] をクリックする
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-5.png)
7. Click “WP Sitemaps Config 設定”
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-6.png)
8. “View the current XML sitemap index.”をクリックして現在の XML Sitemap を確認する
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-7.png)
9. robot.txt が開く
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-8.png)
10. 現在の XML Sitemap を確認する
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-9.png)
11. “一般”タブにて変更があれば設定をする
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-10.png)
12. “投稿”タブにて変更があれば設定をする
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-11.png)
デプロイを作成する
13. ダッシュボードに戻る
14. “デプロイする”をクリックする
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-12.png)
15. “WordPress を停止する”をクリックする
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-13.png)
16. サイトのURLをクリックする
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-14.png)
robots.txt の確認
17. robots.txt にアクセスをする
デフォルトでは https://ドメイン名.com/robots.txt に出力される
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-15.png)
18. XML Sitemap にアクセスをする。
デフォルトでは https://ドメイン名.com/wp-sitemap.xml
![](https://ja.getshifter.io/wp-content/uploads/2024/01/image-16.png)
注意: サブディレクトリ(例: ディレクトリ名が SUBDIR) の場合の各々のパス
robots.txt: : https://ドメイン名.com/robots.txt
XML Sitemaps:: https://ドメイン名.com/SUBDIR/sitemap.xml