Make sure users accessing your website with wrong url get redirected to the correct one
Romain Pechayre
gem "main_domain", "~> 0.0.1"