0

I'm new to Drupal community and I wonder if there is a solution to regenerate all urls from http to https?

I have already tried to just regenerate and try to update $base_url in setting, nothing helped.

1 Answer 1

3

There is a setting in the XMLSitemap admin configuration that lets you set the base domain. Update that value, clear cache, and regenerate the sitemap.

4
  • Base url is set to https, but not working anyways Commented Aug 13, 2018 at 13:15
  • 2
    $base_url or the one in the admin configuration? If both are set to https, there is something else that is getting in the way then.
    – Kevin
    Commented Aug 13, 2018 at 13:21
  • Both are set to https, what else it should be? Commented Aug 13, 2018 at 13:38
  • Within our deployment workflows, we're setting this (state API) value to the current environment's base URL, rebuild caches and run cron (using Drush) to rebuild the xmlsitemap. It always works. Commented Aug 13, 2018 at 14:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.