• Resolved robadams22


    I started to use the Additional Pages feature on the sitemap tab. I noticed having not manually entered a Last Modified date that the options stored in the db ended up empty.

    In the aioseop_sitemap.xml the date conversion around line 2272 when used with an empty date string returns 1970-01-01. We had entered a lot of URLs before I released so I implemented a temporary solution adding a basic check

    $mod = (empty($mod) ? date(“Y-m-d”) : $mod);

    just above this line

    $mod = date( ‘Y-m-d\TH:i:s\Z’, mysql2date( ‘U’, $mod ) );

    If useful could be added to the plugin for future updates?

    All the best


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Sitemap.xml Additional Pages’ is closed to new replies.