Support External Images in XML Sitemap in All in One SEO Pack

Support external images in the XML sitemap if using All in One SEO Pack on your child site.

Snippet Type

Execute on Child Sites


add_filter( 'aioseop_images_allowed_from_hosts', 'my_aioseop_images_allowed_from_hosts' );

function my_aioseop_images_allowed_from_hosts( $hosts ) {
$hosts[] = '*';
return $hosts;
1 Like image assets would be if you were using the site accelerator module in Jetpack.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.