2020年終わりに All in One SEO Packプラグインが、大きくバージョンアップし、Ver4になった。
テスト環境にて、Ver4へアップデートしたところ、titleタグも、All in One SEO Pack自動出力の部分に移動していた。
↓ title タグが出力されている。
![](https://mono96.jp/wp-content/uploads/2021/04/bea557e7e176d52d0fe57511f8a1a6b4-1024x404.png)
![](https://mono96.jp/wp-content/uploads/2021/04/bea557e7e176d52d0fe57511f8a1a6b4-1024x404.png)
以前のVer 3系統では、なかった挙動だ。
このtitleタグの出力を停止するには、下のフィルターフックをfunctions.phpに追加するとOKだ。
/* title tag stop All in One SEO Ver.4 */
add_filter( 'aioseo_disable_title_rewrites', 'aioseo_disable_term_title_rewrites' );
function aioseo_disable_term_title_rewrites( $disabled ) {
return true;
}
下の記事が解決に役立った。