Canonical URL notice in Vanilla 2.8

JasonBarnabeJasonBarnabe Cynical Salamander ✭✭

After upgrading to Vanilla 2.8, with debugging on, when I post a new discussion I see the notice:

Canonical URL http://mysite.example/en/forum/discussion/49241/lkjlkj !== http://mysite.example/en/forum/discussion/49241/lkjlkj/p1.

#0 [internal function]: gdn_ErrorHandler(1024, 'Canonical URL h...', '/www/vanilla/li...', 853, Array)
#1 /www/vanilla/library/core/class.dispatcher.php(853): trigger_error('Canonical URL h...', 1024)
#2 /www/vanilla/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
#3 /www/vanilla/index.php(29): Gdn_Dispatcher->dispatch()
#4 {main}

Is this something to be concerned about?

Comments

  • LincLinc Director of Development Detroit Vanilla Staff

    No, it's being a bit overzealous. We added that to help identify any scenarios where we'd inadvertently changed our pathing when we last updated the dispatcher. It's just a user notice, so it's not hurting anything.

    JasonBarnabe
Sign In or Register to comment.