aioseop_sitemap_xsl_url

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 yourdomain.com/sitemap.xsl… 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 = 'https://mywebsite.com/mycustomxslfile.xsl';
return $xsl_url;
}

[i]
[i]
Skip to toolbar