Plugin Author
makong
(@makong)
Probably, you have got a problem with permissions, try to create empty file sitemap-image.xml in the root directory, then select “Generate Image Sitemap” on plugin page. Or change directory permissions at 0666.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
@makong , Please don’t ask for people’s email addresses. If you want to publicly disclose your email address on these forums then please do. I assume you don’t want to get spammed and that’s why you don’t.
Thread Starter
mikehc
(@mikehc)
hi friend, are you there?
Thread Starter
mikehc
(@mikehc)
@makong could you help me?
the sitemap-image.xml was not generated in the root directory.
it was in my second directory.
eg:
http://www.eectg.co.uk/
http://www.eectg.co.uk/barbour/ i want to generated sitemap-image.xml for this address
thank you for help
Plugin Author
makong
(@makong)
In this case you must manualy change line 223 in plugin base file advanced-image-sitemap.php, like this:
$image_sitemap_url = $_SERVER[“DOCUMENT_ROOT”].’/sitemap-image.xml’; to
$image_sitemap_url = $_SERVER[“DOCUMENT_ROOT”].’/barbour/sitemap-image.xml’;
But you don’t have to create a separate file for this subdirectory, plugin generates xml for all pages.
Plugin Author
makong
(@makong)
But you don’t have to create a separate file for this subdirectory, plugin generates xml for all pages.