Wordpressのプラグイン「WebP Converter for Media」で設定画面上部にこのようなエラーが表示されます。
Server configuration error The path for /uploads files does not exist (function is_dir() returns false). Use filter webpc_dir_path to set the correct path. The current using path is: /home/●●/●●.com/public_html/wp-content/themes/wp-content/uploads. Please read the plugin FAQ to learn more. --- Redirects on your server are not working. Check the correct configuration for you in the plugin FAQ. If you have checked the configuration, it means that your server does not support redirects from the .htaccess file or your server configuration is not compatible with this plugin. In this case, please contact your server administrator. --- Error codes: path_uploads_unavailable, rewrites_not_working
日本語化すると
/ uploadsファイルのパスが存在しません(関数is_dir()はfalseを返します)。フィルタwebpc_dir_pathを使用して、正しいパスを設定します。現在使用しているパスは次のとおりです。詳細については、プラグインのFAQをお読みください。 --- サーバー上のリダイレクトが機能していません。プラグインFAQで正しい構成を確認してください。構成を確認した場合は、サーバーが.htaccessファイルからのリダイレクトをサポートしていないか、サーバー構成がこのプラグインと互換性がないことを意味します。 この場合、サーバー管理者に連絡してください。 --- エラーコード: path_uploads_unavailable、rewrites_not_working
そして、普通ならWebP化する画像のディレクトリを選べるのですが、/uploadしか選べないです
サーバーはエックスサーバー でPHPバージョンも7.4以上です。
他のエックスサーバでは問題なく作動しているのでサーバの問題ではないとは思います。
どなたかご教授いただけましたら幸いです。
あなたの回答
tips
プレビュー