deliciousbrains / wp-amazon-s3-and-cloudfront

Automatically copies media uploads to Amazon S3 for delivery. Optionally configure Amazon CloudFront for even faster delivery.
https://wordpress.org/plugins/amazon-s3-and-cloudfront/
307 stars 149 forks source link

SEO issue - Sitemap.xml is not showing images when WP-Offload is enable #593

Open vforvalerio opened 2 years ago

vforvalerio commented 2 years ago

WP-Offload media lite is blocking other plugins to include the images in the sitemap, as soon as the plugin is deactivated the sitemap resume working and display all the images, and obviously as soon as I activate they disappear from the sitemap. I've tested with the most popular sitemap plugins and the results are always the same.

WordPress: 5.8.2 Web Server: Apache/2.4.25 (Debian) PHP: 8.0.13 MySQL: 5.5.5 ext/mysqli: yes PHP Memory Limit: 1024M WP Memory Limit: 40M Memory Usage: 8 MB Blocked External HTTP Requests: None WP Locale: en_US Organize offloads by month/year: Enabled Region: eu-west-3 Block All Public Access: Disabled

Copy Files to Bucket: On Enable Path: On Custom Path: wp-content/uploads/ Use Year/Month: On Object Versioning: Off

Delivery Provider: Amazon S3 Rewrite Media URLs: On

Force HTTPS: Off

Remove Files From Server: On

ianmjones commented 2 years ago

Please can you let us know which site map plugin in particular you would like to use and had this problem?

If you turn off WP Offload Media Lite's "Rewrite Media URLs" setting rather than deactivate it, does that bring back the (local URL) entries in the sitemap too?

vforvalerio commented 2 years ago

Hi, I had the issue with rankmath, yoast, all in one plugins.

I didn’t try to turn off the rewrite media url.

On Jan 18, 2022, at 11:38 AM, Ian M. Jones @.***> wrote:

 Please can you let us know which site map plugin in particular you would like to use and had this problem?

If you turn off WP Offload Media Lite's "Rewrite Media URLs" setting rather than deactivate it, does that bring back the (local URL) entries in the sitemap too?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.