Hello @swinggraphics,
Thanks for using the Yoast SEO plugin. I believe you got the message below:
SEO data optimization is disabled for non-production environments
First, we would like to let you know that we don’t recommend running the SEO data optimization on non-production websites (other than your live site), as there is the possibility that you could be storing the incorrect values in the database for the indexable. And with WordPress 5.5’s a wp_get_environment_type()
function retrieving a site’s current environment type, we had to prevent several processes from happening in non-production environments by checking this value. As of now, we won’t provide the option for the indexable, if the WordPress wp_get_environment_type()
function returns values like development, local etc. That’s why we show the message on these websites.
Since Yoast SEO v15.1, this table is only processed in production environments. You can read more of it here – https://yoast.com/yoast-seo-15-1/. Furthermore, the wp_get_environment_type()
WordPress function’s default value on a live site should have been 'production'
. If this did not return production
on your live site, you can set the WP_ENVIRONMENT_TYPE
constant to 'production'
by adding the line below to the wp-config.php file.
define( ‘WP_ENVIRONMENT_TYPE’, ‘production’ );
You can read more about it here. You may also reach out to your web hosting provider to override the default settings if you are facing issues.