How to change protocol to https on wagtail sitemaps?
Asked Answered
S

1

5

I have a django sitemap and wagtail sitemap for my site.

The django sitemap is using https by simply setting the protocol variable in the class, but I can't figure out a way to do this for the wagtail sitemap without overriding many internal methods.

Is there a simple way to use https for my wagtail sitemaps?

Shear answered 22/5, 2018 at 15:38 Comment(0)
P
17

In the Wagtail admin, under Settings -> Sites, change the port number of your site to 443.

Periphrastic answered 22/5, 2018 at 18:9 Comment(2)
Thank you so much! I knew there had to be an easier way lol. Don't know how i missed thatShear
Make sure to reload / redeploy your app to see the changes in sitemap.xmlNadabas

© 2022 - 2024 — McMap. All rights reserved.