0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SWELLでプラグイン「XML Sitemap & Google News」を使うとエラーが出てしまう

0
Last updated at Posted at 2026-04-11

Wordpressで
テーマ⇒SWLL
プラグイン⇒XML Sitemap & Google News
を使おうとしたら下記のエラーが出たことがある。

This page contains the following errors:

error on line 13 at column 70: Entity ‘raquo’ not defined

Below is a rendering of the page up to the first error.

このエラーに悩んでいる人もいるかもしれないので、直し方を解説していきたい。

SWELLの設定を見直せば万事解決

SWELLは、デフォルトの設定でXMLサイトマップの機能を使わないようになっているらしい。
だから、まずは、以下の手順で設定を変更してほしい。

①SWELLの設定ページへ

SWELL設定をクリックして②へ

swell設定.png

②機能設定へ

タブの機能設定を押して③へ

②機能設定.png

③「コアのサイトマップ機能を停止する」のチェックを外す。

「コアのサイトマップ機能を停止する」のチェックを外したら、④へ

③チェックはずし.png

④変更を保存する

下の方にある「変更を保存」ボタンを押せば、完了!

スクリーンショット-2025-09-02-231244.png

SWELLの設定を変更した後は確認しよう

SWELLの設定を変更した後は、XMLサイトマップのエラーが消えているか確認しよう

下記のどちらでもOK

https://サイトのドメイン/sitemap.xml
https://サイトのドメイン/wp-sitemap.xml

これで、エラーが解消されているなら、下のような表が現れるはず。

確認.png

さらに万全を期すには

さらに万全を期すには、下記2ステップすればいいと思う。

①XML Sitemap Validatorで確認

②Google Search Consoleに登録

①XML Sitemap Validatorで確認

Your Sitemap URLにサイトマップのURLを入れてボタンを押せば問題ないか確認できる。

sitemap validater.png

②Google Search Consoleに登録

おそらく、SWELLを使っている人は、SEOのプラグインに「SEO SIMPLE PACK」を使っていると思う。

だから、Google Search Consoleに登録するには、header.phpに直接、メタタグを差し込む必要がある。

下記サイトを参考にしてほしい。

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?