Hard-code SEO Title defaults across all sites on a multisite
Hard-code SEO Title defaults across all sites on a multisite
Hard-code SEO Title defaults across all sites on a multisite
It will use what’s in your theme to write the meta tags. Just enable meta tags in the yoast options as by default this is OFF and then go view your site. However you’ll also need to set something for the Meta field from the Post tab You can also choose the option to force … Read more
This is known bug. You can read something about this here: https://github.com/Yoast/wordpress-seo/issues/1109 michaelcurry there wrote a solution. Quick Fix – Put this into your functions file. add_action(‘wp_loaded’, ‘remove_actions’); function remove_actions() { remove_action( ‘wp’, array( $GLOBALS[‘wpseo_front’], ‘pagination_overflow_redirect’ ), 99 ); }
As it is explained here ‘wpseo_sitemap_’ . $filter . ‘_change_freq’ the $filter should be replaced with post type that you want to change, you can replace it with: homepage, blogpage, $post_type . ‘_archive’, $post_type . ‘_single’, $c->taxonomy . ‘_term’, author_archive. while the $post_type variable based on WordPress Codex can be replaced with: Post (Post Type: … Read more
I don’t have this theme so what I’m about to say is a wild guess and you’ve probably alright tried it but the breadcrumbs could be coming from anywhere it all depends how many files are in the theme. If the theme has a single.php check there for the breadcrumbs. Check the index.php or anything … Read more
Not sure if there are any plugins out there that do this. But a simple function to remove the canonical URL like below seems to work based on my tests. function wpse282643() { global $post; // Check if WPSEO plugin is active and bail immediately if not (this is just a sample check) if ( … Read more
When have you done the translation? Google chaches the information of your site, means a chance of your site take time till google-crawler was there again and noticed the change and write a new chache…so changes can take till some weeks till google shows the new version…
try like this function filter_wpseo_json_ld_output( $bool, $context ) { if(is_home()){ return false; } return $bool; }; // add the filter add_filter( ‘wpseo_json_ld_output’, ‘filter_wpseo_json_ld_output’, 10, 2 );
In the current version of Yoast, this link is rendered by presenters/rel-next-presenter.php, which contains this filter: public function present() { $output = parent::present(); if ( ! empty( $output ) ) { /** * Filter: ‘wpseo_next_rel_link’ – Allow changing link rel output by Yoast SEO. * * @api string $unsigned The full `<link` element. */ return … Read more
Assuming this is an XY problem and the original question is: “How do I block crawlers from indexing my staging site?” Staging and production should be as close as similar. Having changes in code would be a big “no no” for me (except for some environment variables, e.g. setting WP_ENVIRONMENT_TYPE or db credentials). Instead, I … Read more