Site map url with protocol (https)

Hi All,

I have used dynamic_sitemaps for sitemap.

Command to generate xml file “rake sitemap:generate”

After running this command it is generating this xml files

My Expectation:

Here i need the protocol as "https" instead of http

How to override the default protocol in sitemap.

Please give me suggestions

Thanks in advance.

A quick look at and seems to indicate that this is supported in the config file (config/sitemap.rb by default) as:

protocol “https”

It doesn’t get much simpler than that.

(I’ve never used this gem, but if you read a lot of Ruby source, these things start to become more apparent.)