yoast sitemap xml

This question will likely be marked ‘off-topic’ because it’s asking about a plugin, WordPress SEO by Yoast. I suggest you explore Yoast’s own documentation first – see https://developer.yoast.com/features/xml-sitemaps/ They also have a forum on the WordPress.org site where you can ask questions: https://wordpress.org/support/plugin/wordpress-seo/

how to add urls dynamically into the sitemap

Looks like one of those is the canonical URL, can you take a look at the page source and check if is there a canonical tag? <link rel=”canonical”… Also there is a setting in yoast for the sitemap https://kb.yoast.com/kb/how-to-customize-the-sitemap-index/ and you can add your own sitemap too: https://kb.yoast.com/kb/add-external-sitemap-to-index/ Note: Duplicate content will harm your SEO … Read more

yoast seo plugin – remove bulk title and description editor menu from non-admins [closed]

Yoast SEO uses capabilities (WordPress docs on roles and capabilities) to determine whether users are allowed to bulk edit tiles and descriptions. The name of the capability used for this is wpseo_bulk_edit. By default, Yoast SEO adds this capability to the administrator, editor, author and contributor roles. To remove this capability from all roles except … Read more

Overwriting yoast’s og:meta output?

Use the wpseo_opengraph_title filter: function wpse_187763_wpseo_opengraph_title( $title ) { if ( is_singular() && $post = get_queried_object() ) { if ( $_title = get_post_meta( $post->ID, ‘custom_field_key’, true ) ) $title = $_title; // Override title with custom meta title } return $title; } add_filter( ‘wpseo_opengraph_title’, ‘wpse_187763_wpseo_opengraph_title’ ); Update: The single = is intended, since we’re assigning … Read more