Need help with this?
Purchase All in One SEO Pack Pro to get dedicated support from us.

Buy Now

Use this filter hook to add additional pages to your All in One SEO Pack xml sitemap.

NOTE:  This filter only works when Sitemap Indexes is enabled because it adds the additional pages to the sitemap addl-sitemap.xml.

Here’s an example of how to use it:

add_filter( 'aiosp_sitemap_addl_pages', 'sfwd_add_pages' );

function sfwd_add_pages( $pages ) {
if ( empty( $pages ) ) $pages = Array();
$pages[] = Array( "loc" => "", "lastmod" => "2014-04-01T00:00:00Z", "changefreq" => "daily", "priority" => "0.1" );
return $pages;

For instructions on how to use this code, please refer to our FAQ here.

  • Was this helpful ?
  • YesNo