External images on site map API confirmation
-
Hi
I’ve read https://semperplugins.com/documentation/support-external-images-in-the-xml-sitemap/
add_filter( 'aioseop_images_allowed_from_hosts', 'my_aioseop_images_allowed_from_hosts' ); function my_aioseop_images_allowed_from_hosts( $hosts ) { $hosts[] = '*.wp.com'; return $hosts; }
My question is:
What is the correct url if your images are hosted externally but the CNAME is a subdomain. eg my website is mysite.com
My images are on photostock.com but they CNAME it to gallery.mysite.com
So is this correct?
$hosts[] = '*.mysite.com ';
Or something else?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘External images on site map API confirmation’ is closed to new replies.