Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
vanilla 2.8 and profile canonical error
pioc34
✭✭
Hi all,
i updated my forum a few days ago and i found a bug in profile's canonical.
my forum is https://example.com/discussions and profile's canonicals are <link rel="canonical" href="/profile/pioc34" />
instead of <link rel="canonical" href="https://example.com/discussions/profile/pioc34" />
i tried htaccess with RewriteBase /discussions or without this
Any idea to correct this?
0
Comments
Hi @Linc , could you create a "vanilla 2.8 help" category?
Sure, done.
In core file \vanilla\applications\dashboard\controllers\class.profilecontroller.php i modified line number 172
replace $this->canonicalUrl(userUrl($this->User)); by $this->canonicalUrl());