Links from wordpress to xenforo

peppefark

New member
Hi, I installed xenfoword and everything works perfectly. When I share a wordpress article on the forum the link "continue the discussion on the forum" that appears at the end of the article on wordpress does not redirect me to the forum but I get a 404 error. Thank you
 

Opholdings

New member
Lifetime License
How do we manually add a link to the forum discussion from a single page? Or php add forum ID.
 

LPH

Flight Director
Staff member
Does this code help?

PHP:
\XF::app()->router()->buildLink( 'canonical:threads', $thread );
 
Top