Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protocol https doesn't work #42

Open
AnubixXx opened this issue Apr 26, 2016 · 2 comments
Open

Protocol https doesn't work #42

AnubixXx opened this issue Apr 26, 2016 · 2 comments

Comments

@AnubixXx
Copy link

In sitemap.rb when i add:
protocol "https" and generate sitemap, i get this:

Generating sitemap...
rake aborted!
NoMethodError: undefined method protocol' for #<DynamicSitemaps::Generator:0x007fef3c755548> /home/anubix/projects/flies/config/sitemap.rb:3:ingenerate'

Most of websites need https urls in sitemap, please check it, thanks.

@rscnt
Copy link

rscnt commented Nov 9, 2016

See #43

@silva96
Copy link

silva96 commented Jan 5, 2017

Actually the method protocol= doesn't exist in any branch.

You can't assign the protocol "Gem wide" but Sitemap specific.

Then all you have to do is point your gem to master

gem 'dynamic_sitemaps', github: 'lassebunk/dynamic_sitemaps', branch: 'master'

and in config/sitemap.rb add the following line at the top

protocol "https"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants