WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Need to change Sitemap XML frequency (7 posts)

  1. masterwoo
    Member
    Posted 1 year ago #

    Need to change Sitemap XML frequency from weekly to daily. How I can do that.

    When this would be a default feature in the plugin.

    Thanks
    Lucky

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. alaplant
    Member
    Posted 1 year ago #

    I need answer to the same thing where you ever able to figure it our?

  3. Arnoud
    Member
    Posted 1 year ago #

    Open /wp-content/plugins/wordpress-seo/inc/class-sitemaps.php

    search for "weekly"
    replace with "daily"

    it's in there a couple of times, for page/post/category/tag.

    Unfortunately you can't specify this for a single page/post entry.
    The setting is for all pages or posts.

    You can differentiate beteween a page / post / category.
    Example:

    You could change weekly do daily for a page but not for a category.

    Would be a very nice feature to add to the SEO plugin.

    NOTE: updating the plugin might change these values back to their default 'weekly' setting.

  4. Danielle
    Member
    Posted 1 year ago #

    That is one of the main reasons why I don't use the sitemap from Yoast

  5. Maraki
    Member
    Posted 1 year ago #

    i have the same problem..

    any updates on this by Yoast ?

  6. bugmenot2013
    Member
    Posted 11 months ago #

    Thanks Arnoud, for identifying the location of the XML-generation file. I had hunted around for a plain XML file; it was not there, so clearly it was being generated by code.

    But this is a really annoying failure by YOAST. Surely the choice of daily or weekly sitemap updates ought to be a user setting ... not something that Yoast chooses on our behalf!

    We were making massive changes to our site or an hourly basis for the first few weeks - hundreds of hours of work - but found that Google was simply not indexing the changes for an unacceptably long time (i.e. around a week). At the end, the reason was obvious: this ridiculous decision by Yoast to fix the sitemap change frequency to weekly.

    We have implemented the changes as suggested by Arnound, but personally I would prefer to manage my own XML file. Does anyone how to do that correctly, without causing interference or conflicts with the Yoast file? E.g.

    * Do we just add our own sitemap.xml at the root level?
    * Should we delete the Yoast PHP file that generates the sitemap ( /wp-content/plugins/wordpress-seo/inc/class-sitemaps.php) or can we leave it there?

    In the meanwhile, Yoast, please fix this!

  7. iptvnews
    Member
    Posted 11 months ago #

    I am stuck with YOAST plugin, I am using Yoast on my one of my site but I hate this feature because I can't change the indexing Frequency. Luckily I am using All-in-SEO on other sites so not a hassle when it comes to changing the Priority and Indexing options.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags