Ruby on Rails
Monday, May 23, 2016
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
<sitemapindex><sitemap>
<loc>
http://www.example.com/sitemaps/site.xml</loc>
</sitemap>
</sitemapindex>
My Expectation:
Here i need the protocol as "https" instead of http
https://www.example.com/sitemaps/site.xml</loc>
How to override the default protocol in sitemap.
Please give me suggestions
Thanks in advance.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/651c013f-4a99-43c6-af65-4977d7158ceb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment