Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When the module generates a new sitemap.xml file and notifies the search engines (Google and Bing), it uses the HTTP protocol.
Both Google and Bing use HTTPS for all their services, so they respond with an 301 HTTP responde status code, which makes the module send the notification again to the new URL.
The module should use HTTPS protocol both for Google and Bing.
This issue is related to the issue #2907878: Use HTTPS protocol when notifying search engines, but in this case it's over the 8.x-1.x version.
Comments
Comment #2
tuchoI have uploaded a patch that updates the search engines notification URL addresses for both Google and Bing for the 8.x-1.x version.
Comment #3
tuchoSorry!
I updated the patch of the related issue without renaming it to respect the patch name convention.
Uploaded again with the correct name!
Comment #4
GeduR CreditAttribution: GeduR at Metadrop commentedIt looks nice to me, as it uses the same approach as the D7 version (already committed). Moving to RTBC
Comment #5
devad CreditAttribution: devad as a volunteer commentedComment #6
pifagorthe patch did not pass automatic tests
Comment #7
tuchoHi @pifagor!
It seems that the tests failures [0] has nothing to do with this patch.
The patch still applies on the current dev, so I change the status to Needs review again.
[0] https://www.drupal.org/pift-ci-job/917841
Comment #8
tuchoThe patch still applies, so I have retested the patch on the current versions of Drupal Core and all the tests finished ok.
I set again the RTBC promoted by @GeduR.
Comment #9
pifagorComment #11
pifagor