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.

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.

  • Base url is set to https, but not working anyways – Jakub Staněk Aug 13 '18 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 Aug 13 '18 at 13:21
  • Both are set to https, what else it should be? – Jakub Staněk Aug 13 '18 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. – Mario Steinitz Aug 13 '18 at 14:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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