• Resolved nepalpyramids

    (@nepalpyramids)


    hello and Namaste
    this is not a complain – very sorry coz im not a professional
    after the new update i lost the xml sitemap option with my SEO Yoast
    now all i see is

    general
    search appearance
    search console
    social
    tools and
    premium

    did i do something wrong or am i to look somewhere
    please help

Viewing 13 replies - 1 through 13 (of 13 total)
  • I posted about this too. Now Yoast SEO is asking to get into your Google Search Console account, instead of providing XML sitemaps.

    Very bad. Now the links to sitemaps are very hidden: General > Functionality > Sitemap XML – but what is worse, it does not update automatically.

    I have changed the name of a category three days ago, and in category’s sitemap the link is still the old one.
    I have flushed all caches and I have add this in theme’s functions.php

    add_filter('wpseo_enable_xml_sitemap_transient_caching', '__return_false');

    But still the category-sitemap does not update.
    Obviously I have made 301 redirect, but I don’t want my sitemap to keep pointing to the old URL.

    Yep. They unified the UI of title edition with the sitemap’s one.
    Two things are missed:
    1) The link to the sitemap is hidden by default, making it not that obvious to find.
    2) The lack of a textarea to insert the IDs of pages you don’t want to have indexed by spiders is very missed. They have to enable some mechanism to add a list of pages to be skipped by spiders cause there are cases where a site may use blocks of pages that shouldn’t be spidered and cannot be put as drafts. Or whatever reason, I can mention at least 10 scenarios in which you may have the need to exclude hundreds of posts, and having to edit every one at a time is awful. At the very least, they should add a selectable option in every list of posts (posts, pages, whatever) so that you can select several ones and massively indicate set them to “no-index”. Got it? Anybody from Yoast reading here? Please? ??

    Thanks in advance!

    Thread Starter nepalpyramids

    (@nepalpyramids)

    its hard to understand why the developers make things
    more and more complicated with their every new updates

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    In order to improve the UX of our plugin for beginners, we have redesigned our plugin’s interface a lot. By default, Yoast SEO XML sitemap option is now available on Yoast SEO -> General -> Features (tab).

    If you’d like to exclude certain content types or certain posts from your sitemap, you can simply set noindex to them from Yoast SEO and it will be automatically excluded from the sitemap. You won’t need to manually exclude them from sitemap anymore.

    Hi @mazedulislamkhan, I have scenarios in which I need DOZENS of specific pages to be excluded. Do I have to enter the editor of each one and mark theme to no-index? The box where page ids used to be typed is missed a lot.

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    We understand your concern. In this case, you can either set noindex using the wpseo_robots filter or exclude items using the wpseo_sitemap_excluded_posts filter.

    @mazedulislamkhan I see. I didn’t find much about those filters by googling. Can you please link to examples & documentation? or at least quote some example usage code here for us to see? if I need to exclude posts i.e, with ids: 3333, 4444, 5555, how do I use the filter. It is to be used in the theme’s functions.php or as a functions plugin, right?
    Thanks!

    In the other hand, now that you removed the textarea from the UI in v7, a feature request like the following is a very interesting approach and a obvioulsy needed one right now:
    https://github.com/Yoast/wordpress-seo/issues/4371

    I reverted to version 6.3.1 just because of this.

    I’m neither an advanced user nor a beginner, just an “intermediate” who expects to have a certain level of control over features directly in the UI – where they are visible and not so easy to forget, too – without having to dive into “filters” and whatnot.

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    You can exclude post by IDs using the following to your theme functions.php file:

    add_filter( 'wpseo_exclude_from_sitemap_by_post_ids', function () {
    	return array( 311, 322 );
    } );
    

    You’ll need to replace the array items with your own posts ID that you’d like to exclude. Once you place the code and save it on your site, please disable and re-enable the XML sitemap from Yoast SEO -> General -> Features (tab) to clear transient cache.

    ok Mazedul, very thanks!

    Plugin Support devnihil

    (@devnihil)

    @kent-brockman You’re welcome and we are going ahead and marking this as resolved, but if you should need any further assistance, please do not hesitate to let us know.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘lost xml sitemap option’ is closed to new replies.