WordPress.org

Plugin Directory

google-sitemap-generator

Opened 5 years ago

Closed 3 weeks ago

#935 closed enhancement (fixed)

Building Mode: Option to rebuild sitemap once per day

Reported by: opossum123 Owned by: arnee
Priority: normal Severity: normal
Plugin: google-sitemap-generator Keywords:
Cc:

Description

It would be neat if this plugin provides the option of rebuilding the sitemap not more than once per day, although more than one post or page was published per day (as to avoid over-submitting to the Search Engines).

In other words, was no post or page published -> sitemap remains as is. Were several posts or pages published per day -> sitemap file is being rebuilt *once* per day, and this at a certain time (ex., 12:00 a.m.).

I know we could do that manually; it would just be nice to have a third check box (in the Options under 'Building Mode') -- plus, eventually, enter a time -- so some of us have one task less on our to-do list. :-)

Attachments (2)

dkGsitemap.php (1.8 KB) - added by randompage 5 years ago.
caller
dkGsitemap.php.inc (4.6 KB) - added by randompage 5 years ago.

Download all attachments as: .zip

Change History (4)

randompage5 years ago

caller

randompage5 years ago

comment:1 randompage5 years ago

hi,

i have the similar idea and did some simple hacks to your plugins :)
for now, its predefined to rebuild the sitemap at 6 hours interval. please see the attached file, hope that will speed up your coding time.

cheers,
dwi.
http://design.ebali.web.id/

comment:2 arnee3 weeks ago

  • Resolution set to fixed
  • Status changed from new to closed

Please try v4.0, it doesn't use static files anymore so the problem should be gone. :)

Note: See TracTickets for help on using tickets.