Make parameters for Canonical Url not public

I think it is not real anybody wants to change or get it outside Controller class. So I have made this PR.