jumph4x/canonical-rails

Config option to force protocol

Closed this issue · 2 comments

What are your thoughts on including a config option to force the protocol for the canonical URL href? For example, a site could have the same content hosted on http & https and wants to always have https be the canonical URL. With the current setup, the protocol is based on the incoming request protocol.

If you agree that is useful, I can work on a pull request.

Do it up.