Change URL when slug changes

#1

Chris D

XenForo developer
Staff member
#2
This is the exact code which does it currently for threads:
PHP:
$this->canonicalizeRequestUrl(
    XenForo_Link::buildPublicLink('threads', $thread, array('page' => $page))
);
So, you would just need to alter that and add that to your add-on's controller.
 
Top