add_filter( 'yoast_seo_local_cpt_with_front', '__return_false' );
Tag: Yoast SEO
-
Remove /blog from Yoast SEO: Local locations custom post type URL
-
Change post type for WordPress posts with WP-CLI
In this example, I’m modifying all the posts with a legacy custom post type that I want to get rid of to use the Yoast SEO: Local custom post type for locations instead.
wp post update $(wp post list --post_type=locations --format=ids) --post_type=wpseo_locations
-
How to Disable Automatic Redirects or Notifications in Yoast SEO Premium