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

Buy Now

Use this filter if you want to use something other than our dynamically generated xsl file for your xml sitemap. Simply filter the location with the full URL to your own xsl file.
Do not use… this will automatically use All in One SEO Pack’s. Rename the file to something else or put it in a different location.

add_filter( 'aioseop_sitemap_xsl_url' , 'my_custom_xsl' );

function my_custom_xsl( $xsl_url ){
$xsl_url = '';
return $xsl_url;

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

  • Was this helpful ?
  • YesNo
Skip to toolbar